| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 // This class gathers state related to a single user profile. | 5 // This class gathers state related to a single user profile. |
| 6 | 6 |
| 7 #ifndef CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ | 7 #ifndef CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ |
| 8 #define CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ | 8 #define CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ |
| 9 #pragma once | 9 #pragma once |
| 10 | 10 |
| (...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 117 virtual void MarkAsCleanShutdown(); | 117 virtual void MarkAsCleanShutdown(); |
| 118 virtual void InitExtensions(); | 118 virtual void InitExtensions(); |
| 119 virtual void InitPromoResources(); | 119 virtual void InitPromoResources(); |
| 120 virtual void InitRegisteredProtocolHandlers(); | 120 virtual void InitRegisteredProtocolHandlers(); |
| 121 virtual NTPResourceCache* GetNTPResourceCache(); | 121 virtual NTPResourceCache* GetNTPResourceCache(); |
| 122 virtual FilePath last_selected_directory(); | 122 virtual FilePath last_selected_directory(); |
| 123 virtual void set_last_selected_directory(const FilePath& path); | 123 virtual void set_last_selected_directory(const FilePath& path); |
| 124 virtual ProfileSyncService* GetProfileSyncService(); | 124 virtual ProfileSyncService* GetProfileSyncService(); |
| 125 virtual ProfileSyncService* GetProfileSyncService( | 125 virtual ProfileSyncService* GetProfileSyncService( |
| 126 const std::string& cros_user); | 126 const std::string& cros_user); |
| 127 virtual AuthenticationService* GetAuthenticationService(); |
| 127 virtual TokenService* GetTokenService(); | 128 virtual TokenService* GetTokenService(); |
| 128 void InitSyncService(const std::string& cros_user); | 129 void InitSyncService(const std::string& cros_user); |
| 129 virtual CloudPrintProxyService* GetCloudPrintProxyService(); | 130 virtual CloudPrintProxyService* GetCloudPrintProxyService(); |
| 130 void InitCloudPrintProxyService(); | 131 void InitCloudPrintProxyService(); |
| 131 virtual ChromeBlobStorageContext* GetBlobStorageContext(); | 132 virtual ChromeBlobStorageContext* GetBlobStorageContext(); |
| 132 virtual ExtensionInfoMap* GetExtensionInfoMap(); | 133 virtual ExtensionInfoMap* GetExtensionInfoMap(); |
| 133 virtual PromoCounter* GetInstantPromoCounter(); | 134 virtual PromoCounter* GetInstantPromoCounter(); |
| 134 virtual BrowserSignin* GetBrowserSignin(); | 135 virtual BrowserSignin* GetBrowserSignin(); |
| 135 virtual policy::ProfilePolicyConnector* GetPolicyConnector(); | 136 virtual policy::ProfilePolicyConnector* GetPolicyConnector(); |
| 136 virtual ChromeURLDataManager* GetChromeURLDataManager(); | 137 virtual ChromeURLDataManager* GetChromeURLDataManager(); |
| (...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 210 scoped_ptr<policy::ProfilePolicyConnector> profile_policy_connector_; | 211 scoped_ptr<policy::ProfilePolicyConnector> profile_policy_connector_; |
| 211 scoped_refptr<prerender::PrerenderManager> prerender_manager_; | 212 scoped_refptr<prerender::PrerenderManager> prerender_manager_; |
| 212 scoped_ptr<NetPrefObserver> net_pref_observer_; | 213 scoped_ptr<NetPrefObserver> net_pref_observer_; |
| 213 scoped_ptr<TemplateURLFetcher> template_url_fetcher_; | 214 scoped_ptr<TemplateURLFetcher> template_url_fetcher_; |
| 214 scoped_ptr<TemplateURLModel> template_url_model_; | 215 scoped_ptr<TemplateURLModel> template_url_model_; |
| 215 scoped_ptr<BookmarkModel> bookmark_bar_model_; | 216 scoped_ptr<BookmarkModel> bookmark_bar_model_; |
| 216 scoped_refptr<PromoResourceService> promo_resource_service_; | 217 scoped_refptr<PromoResourceService> promo_resource_service_; |
| 217 scoped_refptr<ProtocolHandlerRegistry> protocol_handler_registry_; | 218 scoped_refptr<ProtocolHandlerRegistry> protocol_handler_registry_; |
| 218 scoped_ptr<NTPResourceCache> ntp_resource_cache_; | 219 scoped_ptr<NTPResourceCache> ntp_resource_cache_; |
| 219 | 220 |
| 221 scoped_ptr<AuthenticationService> authentication_service_; |
| 220 scoped_ptr<TokenService> token_service_; | 222 scoped_ptr<TokenService> token_service_; |
| 221 scoped_ptr<ProfileSyncFactory> profile_sync_factory_; | 223 scoped_ptr<ProfileSyncFactory> profile_sync_factory_; |
| 222 scoped_ptr<ProfileSyncService> sync_service_; | 224 scoped_ptr<ProfileSyncService> sync_service_; |
| 223 scoped_refptr<CloudPrintProxyService> cloud_print_proxy_service_; | 225 scoped_refptr<CloudPrintProxyService> cloud_print_proxy_service_; |
| 224 | 226 |
| 225 ProfileImplIOData::Handle io_data_; | 227 ProfileImplIOData::Handle io_data_; |
| 226 | 228 |
| 227 scoped_ptr<SSLConfigServiceManager> ssl_config_service_manager_; | 229 scoped_ptr<SSLConfigServiceManager> ssl_config_service_manager_; |
| 228 | 230 |
| 229 scoped_refptr<HostContentSettingsMap> host_content_settings_map_; | 231 scoped_refptr<HostContentSettingsMap> host_content_settings_map_; |
| (...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 307 #endif | 309 #endif |
| 308 | 310 |
| 309 scoped_refptr<PrefProxyConfigTracker> pref_proxy_config_tracker_; | 311 scoped_refptr<PrefProxyConfigTracker> pref_proxy_config_tracker_; |
| 310 | 312 |
| 311 scoped_ptr<ChromeURLDataManager> chrome_url_data_manager_; | 313 scoped_ptr<ChromeURLDataManager> chrome_url_data_manager_; |
| 312 | 314 |
| 313 DISALLOW_COPY_AND_ASSIGN(ProfileImpl); | 315 DISALLOW_COPY_AND_ASSIGN(ProfileImpl); |
| 314 }; | 316 }; |
| 315 | 317 |
| 316 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ | 318 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ |
| OLD | NEW |