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

Unified Diff: chrome/browser/predictors/predictor_database_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/predictor_database_factory.h
diff --git a/chrome/browser/predictors/predictor_database_factory.h b/chrome/browser/predictors/predictor_database_factory.h
index b5a71be4dc6bf707e412751343e4c2b74bcc90e0..8e1e2412ef64086fd8bdb3423b209c7c9ef06d16 100644
--- a/chrome/browser/predictors/predictor_database_factory.h
+++ b/chrome/browser/predictors/predictor_database_factory.h
@@ -17,7 +17,7 @@ class PredictorDatabase;
// Singleton that owns the PredictorDatabases and associates them with
// Profiles.
-class PredictorDatabaseFactory : public ProfileKeyedServiceFactory {
+class PredictorDatabaseFactory : public BrowserContextKeyedServiceFactory {
public:
static PredictorDatabase* GetForProfile(Profile* profile);
@@ -29,8 +29,8 @@ class PredictorDatabaseFactory : public ProfileKeyedServiceFactory {
PredictorDatabaseFactory();
virtual ~PredictorDatabaseFactory();
- // ProfileKeyedServiceFactory:
- virtual ProfileKeyedService* BuildServiceInstanceFor(
+ // BrowserContextKeyedServiceFactory:
+ virtual BrowserContextKeyedService* BuildServiceInstanceFor(
content::BrowserContext* profile) const OVERRIDE;
DISALLOW_COPY_AND_ASSIGN(PredictorDatabaseFactory);

Powered by Google App Engine
This is Rietveld 408576698