Index: chrome/browser/predictors/predictor_database_factory.cc |
diff --git a/chrome/browser/predictors/predictor_database_factory.cc b/chrome/browser/predictors/predictor_database_factory.cc |
index b3bec2abca4767525d084329c677a6b40286346f..38d6ae8e6e7d130b7aa656e3609f6bbba8578354 100644 |
--- a/chrome/browser/predictors/predictor_database_factory.cc |
+++ b/chrome/browser/predictors/predictor_database_factory.cc |
@@ -14,7 +14,7 @@ namespace predictors { |
// static |
PredictorDatabase* PredictorDatabaseFactory::GetForProfile(Profile* profile) { |
return static_cast<PredictorDatabase*>( |
- GetInstance()->GetServiceForProfile(profile, true)); |
+ GetInstance()->GetServiceForBrowserContext(profile, true)); |
} |
// static |
@@ -23,14 +23,14 @@ PredictorDatabaseFactory* PredictorDatabaseFactory::GetInstance() { |
} |
PredictorDatabaseFactory::PredictorDatabaseFactory() |
- : ProfileKeyedServiceFactory( |
- "PredictorDatabase", ProfileDependencyManager::GetInstance()) { |
+ : BrowserContextKeyedServiceFactory( |
+ "PredictorDatabase", BrowserContextDependencyManager::GetInstance()) { |
} |
PredictorDatabaseFactory::~PredictorDatabaseFactory() { |
} |
-ProfileKeyedService* PredictorDatabaseFactory::BuildServiceInstanceFor( |
+BrowserContextKeyedService* PredictorDatabaseFactory::BuildServiceInstanceFor( |
content::BrowserContext* profile) const { |
return new PredictorDatabase(static_cast<Profile*>(profile)); |
} |