Skip to content

Commit

Permalink
Merge pull request #25680 from brave/pr25627_update_source_for_search…
Browse files Browse the repository at this point in the history
…_suggestions_1.71.x

Update source for search suggestion for android & desktop (uplift to 1.71.x)
  • Loading branch information
LaurenWags authored Oct 1, 2024
2 parents c9fa82b + d70b593 commit 25abb5c
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions components/search_engines/brave_prepopulated_engines.cc
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ namespace TemplateURLPrepopulateData {

// IMPORTANT! Make sure to bump this value if you make changes to the
// engines below or add/remove engines.
const int kBraveCurrentDataVersion = 28;
const int kBraveCurrentDataVersion = 29;
// DO NOT CHANGE THIS ONE. Used for backfilling kBraveDefaultSearchVersion.
const int kBraveFirstTrackedDataVersion = 6;

Expand Down Expand Up @@ -195,7 +195,12 @@ const PrepopulatedEngine brave_search = MakeBravePrepopulatedEngine(
#endif
"UTF-8",
"https://search.brave.com/api/"
"suggest?q={searchTerms}&rich=true&source=browser",
"suggest?q={searchTerms}&rich=true&source="
#if BUILDFLAG(IS_ANDROID)
"android",
#else
"desktop",
#endif
SEARCH_ENGINE_OTHER,
PREPOPULATED_ENGINE_ID_BRAVE);

Expand Down

0 comments on commit 25abb5c

Please sign in to comment.