-
Notifications
You must be signed in to change notification settings - Fork 895
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed codereview notice for CreateUrlDeleteDirective patch
- Loading branch information
1 parent
0db92ab
commit fa0fe5f
Showing
4 changed files
with
37 additions
and
38 deletions.
There are no files selected for viewing
18 changes: 18 additions & 0 deletions
18
chromium_src/components/history/core/browser/sync/delete_directive_handler.cc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
/* Copyright (c) 2023 The Brave Authors. All rights reserved. | ||
* This Source Code Form is subject to the terms of the Mozilla Public | ||
* License, v. 2.0. If a copy of the MPL was not distributed with this file, | ||
* You can obtain one at https://mozilla.org/MPL/2.0/. */ | ||
|
||
#include "components/history/core/browser/sync/delete_directive_handler.h" | ||
|
||
#define CreateUrlDeleteDirective CreateUrlDeleteDirective_ChromiumImpl | ||
#include "src/components/history/core/browser/sync/delete_directive_handler.cc" | ||
#undef CreateUrlDeleteDirective | ||
|
||
namespace history { | ||
|
||
bool DeleteDirectiveHandler::CreateUrlDeleteDirective(const GURL& url) { | ||
return false; | ||
} | ||
|
||
} // namespace history |
17 changes: 17 additions & 0 deletions
17
chromium_src/components/history/core/browser/sync/delete_directive_handler.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
/* Copyright (c) 2023 The Brave Authors. All rights reserved. | ||
* This Source Code Form is subject to the terms of the Mozilla Public | ||
* License, v. 2.0. If a copy of the MPL was not distributed with this file, | ||
* You can obtain one at https://mozilla.org/MPL/2.0/. */ | ||
|
||
#ifndef BRAVE_CHROMIUM_SRC_COMPONENTS_HISTORY_CORE_BROWSER_SYNC_DELETE_DIRECTIVE_HANDLER_H_ | ||
#define BRAVE_CHROMIUM_SRC_COMPONENTS_HISTORY_CORE_BROWSER_SYNC_DELETE_DIRECTIVE_HANDLER_H_ | ||
|
||
#define CreateTimeRangeDeleteDirective \ | ||
CreateUrlDeleteDirective_ChromiumImpl(const GURL& url); \ | ||
bool CreateTimeRangeDeleteDirective | ||
|
||
#include "src/components/history/core/browser/sync/delete_directive_handler.h" // IWYU pragma: export | ||
|
||
#undef CreateTimeRangeDeleteDirective | ||
|
||
#endif // BRAVE_CHROMIUM_SRC_COMPONENTS_HISTORY_CORE_BROWSER_SYNC_DELETE_DIRECTIVE_HANDLER_H_ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 0 additions & 12 deletions
12
patches/components-history-core-browser-sync-delete_directive_handler.cc.patch
This file was deleted.
Oops, something went wrong.