| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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_PROFILE_IMPL_H_ | 7 #ifndef CHROME_BROWSER_PROFILE_IMPL_H_ |
| 8 #define CHROME_BROWSER_PROFILE_IMPL_H_ | 8 #define CHROME_BROWSER_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 ProfileSyncService* GetProfileSyncService( | 117 virtual ProfileSyncService* GetProfileSyncService( |
| 118 const std::string& cros_user); | 118 const std::string& cros_user); |
| 119 virtual TokenService* GetTokenService(); | 119 virtual TokenService* GetTokenService(); |
| 120 void InitSyncService(const std::string& cros_user); | 120 void InitSyncService(const std::string& cros_user); |
| 121 virtual CloudPrintProxyService* GetCloudPrintProxyService(); | 121 virtual CloudPrintProxyService* GetCloudPrintProxyService(); |
| 122 void InitCloudPrintProxyService(); | 122 void InitCloudPrintProxyService(); |
| 123 virtual ChromeBlobStorageContext* GetBlobStorageContext(); | 123 virtual ChromeBlobStorageContext* GetBlobStorageContext(); |
| 124 virtual ExtensionInfoMap* GetExtensionInfoMap(); | 124 virtual ExtensionInfoMap* GetExtensionInfoMap(); |
| 125 virtual PromoCounter* GetInstantPromoCounter(); | 125 virtual PromoCounter* GetInstantPromoCounter(); |
| 126 virtual BrowserSignin* GetBrowserSignin(); | 126 virtual BrowserSignin* GetBrowserSignin(); |
| 127 virtual policy::DeviceManagementPolicyProvider* | 127 virtual policy::ProfilePolicyContext* GetPolicyContext(); |
| 128 GetDeviceManagementPolicyProvider(); | |
| 129 | 128 |
| 130 #if defined(OS_CHROMEOS) | 129 #if defined(OS_CHROMEOS) |
| 131 virtual chromeos::ProxyConfigServiceImpl* GetChromeOSProxyConfigServiceImpl(); | 130 virtual chromeos::ProxyConfigServiceImpl* GetChromeOSProxyConfigServiceImpl(); |
| 132 #endif // defined(OS_CHROMEOS) | 131 #endif // defined(OS_CHROMEOS) |
| 133 | 132 |
| 134 // NotificationObserver implementation. | 133 // NotificationObserver implementation. |
| 135 virtual void Observe(NotificationType type, | 134 virtual void Observe(NotificationType type, |
| 136 const NotificationSource& source, | 135 const NotificationSource& source, |
| 137 const NotificationDetails& details); | 136 const NotificationDetails& details); |
| 138 | 137 |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 173 scoped_refptr<UserScriptMaster> user_script_master_; | 172 scoped_refptr<UserScriptMaster> user_script_master_; |
| 174 scoped_refptr<ExtensionDevToolsManager> extension_devtools_manager_; | 173 scoped_refptr<ExtensionDevToolsManager> extension_devtools_manager_; |
| 175 scoped_ptr<ExtensionProcessManager> extension_process_manager_; | 174 scoped_ptr<ExtensionProcessManager> extension_process_manager_; |
| 176 scoped_refptr<ExtensionMessageService> extension_message_service_; | 175 scoped_refptr<ExtensionMessageService> extension_message_service_; |
| 177 scoped_ptr<ExtensionEventRouter> extension_event_router_; | 176 scoped_ptr<ExtensionEventRouter> extension_event_router_; |
| 178 scoped_ptr<SSLHostState> ssl_host_state_; | 177 scoped_ptr<SSLHostState> ssl_host_state_; |
| 179 scoped_refptr<net::TransportSecurityState> | 178 scoped_refptr<net::TransportSecurityState> |
| 180 transport_security_state_; | 179 transport_security_state_; |
| 181 scoped_refptr<TransportSecurityPersister> | 180 scoped_refptr<TransportSecurityPersister> |
| 182 transport_security_persister_; | 181 transport_security_persister_; |
| 182 scoped_ptr<policy::ProfilePolicyContext> profile_policy_context_; |
| 183 scoped_ptr<PrefService> prefs_; | 183 scoped_ptr<PrefService> prefs_; |
| 184 scoped_ptr<NetPrefObserver> net_pref_observer_; | 184 scoped_ptr<NetPrefObserver> net_pref_observer_; |
| 185 scoped_ptr<TemplateURLFetcher> template_url_fetcher_; | 185 scoped_ptr<TemplateURLFetcher> template_url_fetcher_; |
| 186 scoped_ptr<TemplateURLModel> template_url_model_; | 186 scoped_ptr<TemplateURLModel> template_url_model_; |
| 187 scoped_ptr<BookmarkModel> bookmark_bar_model_; | 187 scoped_ptr<BookmarkModel> bookmark_bar_model_; |
| 188 scoped_refptr<WebResourceService> web_resource_service_; | 188 scoped_refptr<WebResourceService> web_resource_service_; |
| 189 scoped_ptr<NTPResourceCache> ntp_resource_cache_; | 189 scoped_ptr<NTPResourceCache> ntp_resource_cache_; |
| 190 | 190 |
| 191 scoped_ptr<TokenService> token_service_; | 191 scoped_ptr<TokenService> token_service_; |
| 192 scoped_ptr<ProfileSyncFactory> profile_sync_factory_; | 192 scoped_ptr<ProfileSyncFactory> profile_sync_factory_; |
| (...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 266 // The main database tracker for this profile. | 266 // The main database tracker for this profile. |
| 267 // Should be used only on the file thread. | 267 // Should be used only on the file thread. |
| 268 scoped_refptr<webkit_database::DatabaseTracker> db_tracker_; | 268 scoped_refptr<webkit_database::DatabaseTracker> db_tracker_; |
| 269 | 269 |
| 270 scoped_refptr<history::TopSites> top_sites_; // For history and thumbnails. | 270 scoped_refptr<history::TopSites> top_sites_; // For history and thumbnails. |
| 271 | 271 |
| 272 scoped_refptr<ChromeBlobStorageContext> blob_storage_context_; | 272 scoped_refptr<ChromeBlobStorageContext> blob_storage_context_; |
| 273 | 273 |
| 274 scoped_refptr<ExtensionInfoMap> extension_info_map_; | 274 scoped_refptr<ExtensionInfoMap> extension_info_map_; |
| 275 | 275 |
| 276 scoped_ptr<policy::DeviceManagementPolicyProvider> | |
| 277 device_management_policy_provider_; | |
| 278 | |
| 279 #if defined(OS_CHROMEOS) | 276 #if defined(OS_CHROMEOS) |
| 280 scoped_ptr<chromeos::Preferences> chromeos_preferences_; | 277 scoped_ptr<chromeos::Preferences> chromeos_preferences_; |
| 281 | 278 |
| 282 scoped_refptr<chromeos::ProxyConfigServiceImpl> | 279 scoped_refptr<chromeos::ProxyConfigServiceImpl> |
| 283 chromeos_proxy_config_service_impl_; | 280 chromeos_proxy_config_service_impl_; |
| 284 #endif | 281 #endif |
| 285 | 282 |
| 286 DISALLOW_COPY_AND_ASSIGN(ProfileImpl); | 283 DISALLOW_COPY_AND_ASSIGN(ProfileImpl); |
| 287 }; | 284 }; |
| 288 | 285 |
| 289 #endif // CHROME_BROWSER_PROFILE_IMPL_H_ | 286 #endif // CHROME_BROWSER_PROFILE_IMPL_H_ |
| OLD | NEW |