-
Notifications
You must be signed in to change notification settings - Fork 909
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Extends components/search_engines/search_engines_pref_names.h for new…
… pref
- Loading branch information
Showing
8 changed files
with
39 additions
and
30 deletions.
There are no files selected for viewing
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
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
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
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
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
17 changes: 17 additions & 0 deletions
17
chromium_src/components/search_engines/search_engines_pref_names.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) 2021 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 http://mozilla.org/MPL/2.0/. */ | ||
|
||
#ifndef BRAVE_CHROMIUM_SRC_COMPONENTS_SEARCH_ENGINES_SEARCH_ENGINES_PREF_NAMES_H_ | ||
#define BRAVE_CHROMIUM_SRC_COMPONENTS_SEARCH_ENGINES_SEARCH_ENGINES_PREF_NAMES_H_ | ||
|
||
#include "../../../../components/search_engines/search_engines_pref_names.h" | ||
|
||
namespace prefs { | ||
|
||
extern const char kDefaultSearchProviderByExtension[]; | ||
|
||
} // namespace prefs | ||
|
||
#endif // BRAVE_CHROMIUM_SRC_COMPONENTS_SEARCH_ENGINES_SEARCH_ENGINES_PREF_NAMES_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
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 |
---|---|---|
@@ -1,20 +1,12 @@ | ||
diff --git a/components/search_engines/BUILD.gn b/components/search_engines/BUILD.gn | ||
index c2b09f071782eb1a9a3a7cbadc25b66a651cb89e..bf0d956f2368004a1c79f4e04e4df6531bf298c3 100644 | ||
index c2b09f071782eb1a9a3a7cbadc25b66a651cb89e..261310df1f7e24421230e897a22e767a4740cc98 100644 | ||
--- a/components/search_engines/BUILD.gn | ||
+++ b/components/search_engines/BUILD.gn | ||
@@ -101,6 +101,7 @@ static_library("search_engines") { | ||
"//url:gurl_android", | ||
] | ||
} | ||
+ sources += brave_components_search_engines_sources | ||
} | ||
|
||
source_set("search_engine_utils") { | ||
@@ -197,6 +198,7 @@ json_to_struct("prepopulated_engines") { | ||
@@ -197,6 +197,7 @@ json_to_struct("prepopulated_engines") { | ||
schema_file = "prepopulated_engines_schema.json" | ||
namespace = "TemplateURLPrepopulateData" | ||
deps = [ ":search_engine_type" ] | ||
+ additional_sources = brave_components_search_engines_prepopulated_engines_sources | ||
+ additional_sources = brave_components_search_engines_sources | ||
} | ||
|
||
if (is_android) { |