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

Unified Diff: chrome/browser/sync/profile_sync_service_factory.cc

Issue 10006037: Moved WebDataService to ProfileKeyedService (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed compile Created 8 years, 8 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/sync/profile_sync_service_factory.cc
diff --git a/chrome/browser/sync/profile_sync_service_factory.cc b/chrome/browser/sync/profile_sync_service_factory.cc
index ddca10e2a1707647ebc369afc2b502a429533528..7ef2275a70930342f12c7481752ae0546e1bc404 100644
--- a/chrome/browser/sync/profile_sync_service_factory.cc
+++ b/chrome/browser/sync/profile_sync_service_factory.cc
@@ -21,6 +21,7 @@
#include "chrome/browser/sync/profile_sync_service.h"
#include "chrome/browser/themes/theme_service_factory.h"
#include "chrome/browser/ui/global_error_service_factory.h"
+#include "chrome/browser/webdata/web_data_service_factory.h"
#include "chrome/common/pref_names.h"
// static
@@ -54,13 +55,13 @@ ProfileSyncServiceFactory::ProfileSyncServiceFactory()
DependsOn(SigninManagerFactory::GetInstance());
DependsOn(PasswordStoreFactory::GetInstance());
DependsOn(ExtensionSystemFactory::GetInstance());
+ DependsOn(WebDataServiceFactory::GetInstance());
// The following have not been converted to ProfileKeyedServices yet, and for
// now they are explicitly destroyed after the ProfileDependencyManager is
// told to DestroyProfileServices, so they will be around when the
// ProfileSyncService is destroyed.
- // DependsOn(WebDataServiceFactory::GetInstance());
// DependsOn(HistoryServiceFactory::GetInstance());
// DependsOn(BookmarkBarModelFactory::GetInstance());
// DependsOn(FaviconServiceFactory::GetInstance());

Powered by Google App Engine
This is Rietveld 408576698