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. |