Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2164)

Unified Diff: chrome/browser/predictors/autocomplete_action_predictor_factory.h

Issue 15517005: Remove references to Profile from browser_context_keyed_service. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase & style Created 7 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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);

Powered by Google App Engine
This is Rietveld 408576698