Index: components/search_engines/template_url_service.h |
diff --git a/components/search_engines/template_url_service.h b/components/search_engines/template_url_service.h |
index ccf0db40454e3b27a6612e0055f0f24679b8c173..f77879cdab5ed455f5be883a18e9390dd9fd5ee5 100644 |
--- a/components/search_engines/template_url_service.h |
+++ b/components/search_engines/template_url_service.h |
@@ -45,6 +45,10 @@ class SyncData; |
class SyncErrorFactory; |
} |
+namespace user_prefs { |
+class PrefRegistrySyncable; |
+} |
+ |
// TemplateURLService is the backend for keywords. It's used by |
// KeywordAutocomplete. |
// |
@@ -98,6 +102,9 @@ class TemplateURLService : public WebDataServiceConsumer, |
TemplateURLService(const Initializer* initializers, const int count); |
~TemplateURLService() override; |
+ // Register Profile preferences in |registry|. |
+ static void RegisterProfilePrefs(user_prefs::PrefRegistrySyncable* registry); |
+ |
// Removes any unnecessary characters from a user input keyword. |
// This removes the leading scheme, "www." and any trailing slash. |
static base::string16 CleanUserInputKeyword(const base::string16& keyword); |