| Index: chrome/browser/search/instant_service.h
|
| diff --git a/chrome/browser/search/instant_service.h b/chrome/browser/search/instant_service.h
|
| index 3c02356ba093ba387fc682c19879ad5fbceb5a41..95ba842b3aa4d051dc6f320612b45d25a351284a 100644
|
| --- a/chrome/browser/search/instant_service.h
|
| +++ b/chrome/browser/search/instant_service.h
|
| @@ -12,6 +12,7 @@
|
| #include "base/memory/weak_ptr.h"
|
| #include "base/observer_list.h"
|
| #include "components/history/core/browser/history_types.h"
|
| +#include "components/history/core/browser/top_sites_observer.h"
|
| #include "components/keyed_service/core/keyed_service.h"
|
| #include "components/search_engines/template_url_service_observer.h"
|
| #include "content/public/browser/notification_observer.h"
|
| @@ -35,7 +36,8 @@ class RenderProcessHost;
|
| // Tracks render process host IDs that are associated with Instant.
|
| class InstantService : public KeyedService,
|
| public content::NotificationObserver,
|
| - public TemplateURLServiceObserver {
|
| + public TemplateURLServiceObserver,
|
| + public history::TopSitesObserver {
|
| public:
|
| explicit InstantService(Profile* profile);
|
| ~InstantService() override;
|
| @@ -118,6 +120,10 @@ class InstantService : public KeyedService,
|
| // Search Provider.
|
| void OnTemplateURLServiceChanged() override;
|
|
|
| + // TopSitesObserver:
|
| + void TopSitesLoaded(history::TopSites* top_sites) override;
|
| + void TopSitesChanged(history::TopSites* top_sites) override;
|
| +
|
| // Called when a renderer process is terminated.
|
| void OnRendererProcessTerminated(int process_id);
|
|
|
|
|