| Index: chrome/browser/search/instant_service.h
|
| diff --git a/chrome/browser/search/instant_service.h b/chrome/browser/search/instant_service.h
|
| index f876c4a613a4d90090a091572d9dfad0148bfe6a..e261d6cfb9fc37d9607aba85a25029573e9e5309 100644
|
| --- a/chrome/browser/search/instant_service.h
|
| +++ b/chrome/browser/search/instant_service.h
|
| @@ -29,6 +29,8 @@
|
| class GURL;
|
| class InstantIOContext;
|
| class InstantServiceObserver;
|
| +class InstantTestBase;
|
| +class InstantServiceTest;
|
| class Profile;
|
| class ThemeService;
|
|
|
| @@ -102,6 +104,9 @@ class InstantService : public BrowserContextKeyedService,
|
| // object. Used to destroy the preloaded InstantNTP.
|
| void OnBrowserInstantControllerDestroyed();
|
|
|
| + // Sends the current set of search URLs to a renderer process.
|
| + void SendSearchURLsToRenderer(content::RenderProcessHost* rph);
|
| +
|
| private:
|
| friend class InstantExtendedTest;
|
| friend class InstantServiceTest;
|
| @@ -115,6 +120,7 @@ class InstantService : public BrowserContextKeyedService,
|
| FRIEND_TEST_ALL_PREFIXES(InstantExtendedManualTest,
|
| MANUAL_SearchesFromFakebox);
|
| FRIEND_TEST_ALL_PREFIXES(InstantExtendedTest, ProcessIsolation);
|
| + FRIEND_TEST_ALL_PREFIXES(InstantServiceTest, SendsSearchURLsToRenderer);
|
|
|
| // Overridden from BrowserContextKeyedService:
|
| virtual void Shutdown() OVERRIDE;
|
| @@ -124,6 +130,9 @@ class InstantService : public BrowserContextKeyedService,
|
| const content::NotificationSource& source,
|
| const content::NotificationDetails& details) OVERRIDE;
|
|
|
| + // Called when a renderer process is terminated.
|
| + void OnRendererProcessTerminated(int process_id);
|
| +
|
| // Called when we get new most visited items from TopSites, registered as an
|
| // async callback. Parses them and sends them to the renderer via
|
| // SendMostVisitedItems.
|
|
|