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

Unified Diff: chrome/browser/sync/profile_sync_components_factory_impl.h

Issue 9834056: Moved WebDataService to ProfileKeyedService (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: upload rebase 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_components_factory_impl.h
diff --git a/chrome/browser/sync/profile_sync_components_factory_impl.h b/chrome/browser/sync/profile_sync_components_factory_impl.h
index 7e7ccf27350c13a77df058dc06f7c95564cd2baf..d5aa6a0d9e912758d095021a2c7851fb5e5d929e 100644
--- a/chrome/browser/sync/profile_sync_components_factory_impl.h
+++ b/chrome/browser/sync/profile_sync_components_factory_impl.h
@@ -11,6 +11,7 @@
#include "base/basictypes.h"
#include "base/compiler_specific.h"
#include "chrome/browser/sync/profile_sync_components_factory.h"
+#include "chrome/browser/webdata/web_data_service.h"
class CommandLine;
class ExtensionSystem;
@@ -20,7 +21,7 @@ class ProfileSyncComponentsFactoryImpl : public ProfileSyncComponentsFactory {
public:
ProfileSyncComponentsFactoryImpl(Profile* profile,
CommandLine* command_line);
- virtual ~ProfileSyncComponentsFactoryImpl() {}
+ virtual ~ProfileSyncComponentsFactoryImpl();
virtual void RegisterDataTypes(ProfileSyncService* pss) OVERRIDE;
@@ -66,6 +67,7 @@ class ProfileSyncComponentsFactoryImpl : public ProfileSyncComponentsFactory {
// Set on the UI thread (since ExtensionSystemFactory is non-threadsafe);
// accessed on both the UI and FILE threads in GetSyncableServiceForType.
ExtensionSystem* extension_system_;
+ scoped_refptr<WebDataService> web_data_service_;
DISALLOW_COPY_AND_ASSIGN(ProfileSyncComponentsFactoryImpl);
};

Powered by Google App Engine
This is Rietveld 408576698