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

Unified Diff: chrome/browser/predictors/autocomplete_action_predictor.cc

Issue 12225093: chrome/browser/predictors componentization part-1 Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 years, 10 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
« no previous file with comments | « no previous file | chrome/browser/predictors/autocomplete_action_predictor_table.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/predictors/autocomplete_action_predictor.cc
diff --git a/chrome/browser/predictors/autocomplete_action_predictor.cc b/chrome/browser/predictors/autocomplete_action_predictor.cc
index 0c9dd9ae4edd2edae3c5cdee80eda0f86c2c400f..d78ac6c0405f7b2b94d90a483b63b60893176a18 100644
--- a/chrome/browser/predictors/autocomplete_action_predictor.cc
+++ b/chrome/browser/predictors/autocomplete_action_predictor.cc
@@ -23,8 +23,8 @@
#include "chrome/browser/history/history_service_factory.h"
#include "chrome/browser/history/in_memory_database.h"
#include "chrome/browser/predictors/autocomplete_action_predictor_factory.h"
-#include "chrome/browser/predictors/predictor_database.h"
#include "chrome/browser/predictors/predictor_database_factory.h"
+#include "chrome/browser/predictors/predictor_database_service.h"
#include "chrome/browser/prerender/prerender_field_trial.h"
#include "chrome/browser/prerender/prerender_handle.h"
#include "chrome/browser/prerender/prerender_manager.h"
@@ -85,7 +85,8 @@ AutocompleteActionPredictor::AutocompleteActionPredictor(Profile* profile)
history_service->InMemoryDatabase();
table_ =
- PredictorDatabaseFactory::GetForProfile(profile_)->autocomplete_table();
+ PredictorDatabaseFactory::GetForProfile(profile_)->GetDatabase()->
+ autocomplete_table();
// Observe all main frame loads so we can wait for the first to complete
// before accessing DB and IO threads to build the local cache.
« no previous file with comments | « no previous file | chrome/browser/predictors/autocomplete_action_predictor_table.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698