Index: chrome/browser/predictors/autocomplete_action_predictor_factory.h |
diff --git a/chrome/browser/predictors/autocomplete_action_predictor_factory.h b/chrome/browser/predictors/autocomplete_action_predictor_factory.h |
index 45493bfd0721127099a7164ea205ce5bf23974c3..72da7f6d250ddbdb5e69f81fafa891c1b78e9432 100644 |
--- a/chrome/browser/predictors/autocomplete_action_predictor_factory.h |
+++ b/chrome/browser/predictors/autocomplete_action_predictor_factory.h |
@@ -18,7 +18,8 @@ class AutocompleteActionPredictor; |
// Singleton that owns all AutocompleteActionPredictors and associates them with |
// Profiles. Listens for the Profile's destruction notification and cleans up |
// the associated AutocompleteActionPredictor. |
-class AutocompleteActionPredictorFactory : public ProfileKeyedServiceFactory { |
+class AutocompleteActionPredictorFactory |
+ : public BrowserContextKeyedServiceFactory { |
public: |
static AutocompleteActionPredictor* GetForProfile(Profile* profile); |
@@ -30,10 +31,10 @@ class AutocompleteActionPredictorFactory : public ProfileKeyedServiceFactory { |
AutocompleteActionPredictorFactory(); |
virtual ~AutocompleteActionPredictorFactory(); |
- // ProfileKeyedServiceFactory: |
+ // 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(AutocompleteActionPredictorFactory); |