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

Unified Diff: chrome/browser/profiles/profile_impl.h

Issue 9232011: sync: Make ProfileSyncService a ProfileKeyedService. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 8 years, 11 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 | « chrome/browser/profiles/profile_dependency_manager.cc ('k') | chrome/browser/profiles/profile_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/profiles/profile_impl.h
diff --git a/chrome/browser/profiles/profile_impl.h b/chrome/browser/profiles/profile_impl.h
index b5619d18b664cfc6ae443258c191d38bb9d4dd9f..bb08328c2a09ce83b9bc423d53c19e3af78dbc17 100644
--- a/chrome/browser/profiles/profile_impl.h
+++ b/chrome/browser/profiles/profile_impl.h
@@ -25,7 +25,7 @@ class ExtensionPrefs;
class ExtensionPrefValueMap;
class NetPrefObserver;
class PrefService;
-class ProfileSyncComponentsFactory;
+class ProfileSyncService;
class PromoResourceService;
class SpeechInputPreferences;
class SpellCheckProfile;
@@ -111,7 +111,7 @@ class ProfileImpl : public Profile,
virtual HostContentSettingsMap* GetHostContentSettingsMap() OVERRIDE;
virtual UserStyleSheetWatcher* GetUserStyleSheetWatcher() OVERRIDE;
virtual FindBarState* GetFindBarState() OVERRIDE;
- virtual bool HasProfileSyncService() const OVERRIDE;
+ virtual bool HasProfileSyncService() OVERRIDE;
virtual bool DidLastSessionExitCleanly() OVERRIDE;
virtual BookmarkModel* GetBookmarkModel() OVERRIDE;
virtual ProtocolHandlerRegistry* GetProtocolHandlerRegistry() OVERRIDE;
@@ -127,7 +127,6 @@ class ProfileImpl : public Profile,
virtual void set_last_selected_directory(const FilePath& path) OVERRIDE;
virtual ProfileSyncService* GetProfileSyncService() OVERRIDE;
virtual TokenService* GetTokenService() OVERRIDE;
- void InitSyncService();
virtual ExtensionInfoMap* GetExtensionInfoMap() OVERRIDE;
virtual PromoCounter* GetInstantPromoCounter() OVERRIDE;
virtual ChromeURLDataManager* GetChromeURLDataManager() OVERRIDE;
@@ -246,8 +245,6 @@ class ProfileImpl : public Profile,
scoped_refptr<ProtocolHandlerRegistry> protocol_handler_registry_;
scoped_ptr<TokenService> token_service_;
- scoped_ptr<ProfileSyncComponentsFactory> profile_sync_factory_;
- scoped_ptr<ProfileSyncService> sync_service_;
scoped_ptr<SSLConfigServiceManager> ssl_config_service_manager_;
@@ -268,7 +265,6 @@ class ProfileImpl : public Profile,
scoped_refptr<WebKitContext> webkit_context_;
scoped_refptr<fileapi::FileSystemContext> file_system_context_;
scoped_refptr<quota::QuotaManager> quota_manager_;
- bool profile_sync_service_created_;
bool history_service_created_;
bool favicon_service_created_;
bool created_web_data_service_;
« no previous file with comments | « chrome/browser/profiles/profile_dependency_manager.cc ('k') | chrome/browser/profiles/profile_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698