Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(7709)

Unified Diff: chrome/browser/search_engines/template_url_service_test_util.h

Issue 12084076: Ensure post-sync TemplateURL of prepopulated engines use built-in version. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Change according to pkasting comments. Created 7 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/search_engines/template_url_service_test_util.h
diff --git a/chrome/browser/search_engines/template_url_service_test_util.h b/chrome/browser/search_engines/template_url_service_test_util.h
index 1295ecea13b2954eb38d336fc93fd30ec58161db..ae4fe36127751714ba552e7da2d2413f850a789d 100644
--- a/chrome/browser/search_engines/template_url_service_test_util.h
+++ b/chrome/browser/search_engines/template_url_service_test_util.h
@@ -78,14 +78,18 @@ class TemplateURLServiceTestUtil : public TemplateURLServiceObserver {
void SetGoogleBaseURL(const GURL& base_url) const;
// Set the managed preferences for the default search provider and trigger
- // notification.
- void SetManagedDefaultSearchPreferences(bool enabled,
- const std::string& name,
- const std::string& keyword,
- const std::string& search_url,
- const std::string& suggest_url,
- const std::string& icon_url,
- const std::string& encodings);
+ // notification. If |alternate_url| is empty, uses an empty list of alternate
+ // URLs, otherwise use a list containing a single entry.
+ void SetManagedDefaultSearchPreferences(
+ bool enabled,
+ const std::string& name,
+ const std::string& keyword,
+ const std::string& search_url,
+ const std::string& suggest_url,
+ const std::string& icon_url,
+ const std::string& encodings,
+ const std::string& alternate_url,
+ const std::string& search_terms_replacement_key);
// Remove all the managed preferences for the default search provider and
// trigger notification.

Powered by Google App Engine
This is Rietveld 408576698