| Index: chrome/browser/search/instant_service_factory.h
|
| diff --git a/chrome/browser/search/instant_service_factory.h b/chrome/browser/search/instant_service_factory.h
|
| index 0c31f05202d19f2ff634bc9386d663203aab487a..4d9c584e34bb5fdc497446206df12aa75762a6f1 100644
|
| --- a/chrome/browser/search/instant_service_factory.h
|
| +++ b/chrome/browser/search/instant_service_factory.h
|
| @@ -12,10 +12,10 @@
|
|
|
| class InstantService;
|
| class Profile;
|
| -class ProfileKeyedService;
|
| +class BrowserContextKeyedService;
|
|
|
| // Singleton that owns all InstantServices and associates them with Profiles.
|
| -class InstantServiceFactory : public ProfileKeyedServiceFactory {
|
| +class InstantServiceFactory : public BrowserContextKeyedServiceFactory {
|
| public:
|
| // Returns the InstantService for |profile|.
|
| static InstantService* GetForProfile(Profile* profile);
|
| @@ -28,10 +28,10 @@ class InstantServiceFactory : public ProfileKeyedServiceFactory {
|
| InstantServiceFactory();
|
| virtual ~InstantServiceFactory();
|
|
|
| - // Overridden from ProfileKeyedServiceFactory:
|
| + // Overridden from BrowserContextKeyedServiceFactory:
|
| virtual content::BrowserContext* GetBrowserContextToUse(
|
| content::BrowserContext* context) const OVERRIDE;
|
| - virtual ProfileKeyedService* BuildServiceInstanceFor(
|
| + virtual BrowserContextKeyedService* BuildServiceInstanceFor(
|
| content::BrowserContext* profile) const OVERRIDE;
|
|
|
| DISALLOW_COPY_AND_ASSIGN(InstantServiceFactory);
|
|
|