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

Unified Diff: chrome/browser/search_engines/template_url_service_factory.cc

Issue 10185008: Taking over issue 10006037: Moved WebDataService to ProfileKeyedService (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
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/search_engines/template_url_service_factory.cc
===================================================================
--- chrome/browser/search_engines/template_url_service_factory.cc (revision 136024)
+++ chrome/browser/search_engines/template_url_service_factory.cc (working copy)
@@ -8,6 +8,7 @@
#include "chrome/browser/prefs/pref_service.h"
#include "chrome/browser/profiles/profile_dependency_manager.h"
#include "chrome/browser/search_engines/template_url_service.h"
+#include "chrome/browser/webdata/web_data_service_factory.h"
#include "chrome/common/pref_names.h"
TemplateURLService* TemplateURLServiceFactory::GetForProfile(Profile* profile) {
@@ -23,8 +24,8 @@
: ProfileKeyedServiceFactory("TemplateURLServiceFactory",
ProfileDependencyManager::GetInstance()) {
DependsOn(GoogleURLTrackerFactory::GetInstance());
+ DependsOn(WebDataServiceFactory::GetInstance());
// TODO(erg): For Shutdown() order, we need to:
- // DependsOn(WebDataServiceFactory::GetInstance());
// DependsOn(HistoryService::GetInstance());
// DependsOn(ExtensionService::GetInstance());
}

Powered by Google App Engine
This is Rietveld 408576698