| 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 55eafbdeb8649af6b793c282e3ad18e0cb8f6489..5cc7ce632e60097868d9de0f520586f8425a8857 100644
|
| --- a/chrome/browser/predictors/predictor_database_factory.cc
|
| +++ b/chrome/browser/predictors/predictor_database_factory.cc
|
| @@ -5,15 +5,16 @@
|
| #include "chrome/browser/predictors/predictor_database_factory.h"
|
|
|
| #include "base/bind.h"
|
| -#include "chrome/browser/predictors/predictor_database.h"
|
| +#include "chrome/browser/predictors/predictor_database_service.h"
|
| #include "chrome/browser/profiles/profile.h"
|
| #include "chrome/browser/profiles/profile_dependency_manager.h"
|
|
|
| namespace predictors {
|
|
|
| // static
|
| -PredictorDatabase* PredictorDatabaseFactory::GetForProfile(Profile* profile) {
|
| - return static_cast<PredictorDatabase*>(
|
| +PredictorDatabaseService* PredictorDatabaseFactory::GetForProfile(
|
| + Profile* profile) {
|
| + return static_cast<PredictorDatabaseService*>(
|
| GetInstance()->GetServiceForProfile(profile, true));
|
| }
|
|
|
| @@ -32,7 +33,7 @@ PredictorDatabaseFactory::~PredictorDatabaseFactory() {
|
|
|
| ProfileKeyedService* PredictorDatabaseFactory::BuildServiceInstanceFor(
|
| Profile* profile) const {
|
| - return new PredictorDatabase(profile);
|
| + return new PredictorDatabaseService(profile);
|
| }
|
|
|
| } // namespace predictors
|
|
|