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

Unified Diff: chrome/browser/profiles/profile_dependency_manager.cc

Issue 10380041: Refactoring AutocompleteActionPredictor Database. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 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/profiles/profile_dependency_manager.cc
diff --git a/chrome/browser/profiles/profile_dependency_manager.cc b/chrome/browser/profiles/profile_dependency_manager.cc
index c4057be90b06991b3ff587171b274e849484f382..4c70fa7e386a18f68b42ac970d5186d366c98642 100644
--- a/chrome/browser/profiles/profile_dependency_manager.cc
+++ b/chrome/browser/profiles/profile_dependency_manager.cc
@@ -19,6 +19,7 @@
#include "chrome/browser/password_manager/password_store_factory.h"
#include "chrome/browser/plugin_prefs_factory.h"
#include "chrome/browser/predictors/autocomplete_action_predictor_factory.h"
+#include "chrome/browser/predictors/predictor_database_factory.h"
#include "chrome/browser/prerender/prerender_manager_factory.h"
#include "chrome/browser/printing/cloud_print/cloud_print_proxy_service_factory.h"
#include "chrome/browser/profiles/profile.h"
@@ -174,7 +175,6 @@ void ProfileDependencyManager::AssertFactoriesBuilt() {
if (built_factories_)
return;
- AutocompleteActionPredictorFactory::GetInstance();
ChromeURLDataManagerFactory::GetInstance();
CookieSettings::Factory::GetInstance();
DownloadServiceFactory::GetInstance();
@@ -189,6 +189,8 @@ void ProfileDependencyManager::AssertFactoriesBuilt() {
PasswordStoreFactory::GetInstance();
PersonalDataManagerFactory::GetInstance();
PluginPrefsFactory::GetInstance();
+ predictors::AutocompleteActionPredictorFactory::GetInstance();
+ predictors::PredictorDatabaseFactory::GetInstance();
dominich 2012/05/08 20:35:28 should there be an explicit dependency between the
Shishir 2012/05/08 21:49:03 Added.
prerender::PrerenderManagerFactory::GetInstance();
ProfileSyncServiceFactory::GetInstance();
SigninManagerFactory::GetInstance();

Powered by Google App Engine
This is Rietveld 408576698