Index: chrome/browser/ui/app_list/start_page_service.h |
diff --git a/chrome/browser/ui/app_list/start_page_service.h b/chrome/browser/ui/app_list/start_page_service.h |
index 7a7872b1c3e8eb3b058eb86c02d9eaeef8b0d563..23064c4cc93e712c3c46733f830f5bbc2c6b96ef 100644 |
--- a/chrome/browser/ui/app_list/start_page_service.h |
+++ b/chrome/browser/ui/app_list/start_page_service.h |
@@ -19,6 +19,7 @@ |
#include "base/time/default_clock.h" |
#include "chrome/browser/ui/app_list/speech_recognizer_delegate.h" |
#include "components/keyed_service/core/keyed_service.h" |
+#include "components/search_engines/template_url_service_observer.h" |
#include "content/public/browser/web_contents.h" |
#include "content/public/browser/web_contents_observer.h" |
#include "net/url_request/url_fetcher_delegate.h" |
@@ -51,7 +52,8 @@ class StartPageObserver; |
class StartPageService : public KeyedService, |
public content::WebContentsObserver, |
public net::URLFetcherDelegate, |
- public SpeechRecognizerDelegate { |
+ public SpeechRecognizerDelegate, |
+ public TemplateURLServiceObserver { |
public: |
typedef std::vector<scoped_refptr<const extensions::Extension> > |
ExtensionList; |
@@ -88,6 +90,9 @@ class StartPageService : public KeyedService, |
void GetSpeechAuthParameters(std::string* auth_scope, |
std::string* auth_token) override; |
+ // Overridden from TemplateURLServiceObserver: |
+ void OnTemplateURLServiceChanged() override; |
+ |
protected: |
// Protected for testing. |
explicit StartPageService(Profile* profile); |