OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 | 9 |
10 #include <string> | 10 #include <string> |
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
91 virtual bool IsOffTheRecord() const OVERRIDE; | 91 virtual bool IsOffTheRecord() const OVERRIDE; |
92 virtual Profile* GetOffTheRecordProfile() OVERRIDE; | 92 virtual Profile* GetOffTheRecordProfile() OVERRIDE; |
93 virtual void DestroyOffTheRecordProfile() OVERRIDE; | 93 virtual void DestroyOffTheRecordProfile() OVERRIDE; |
94 virtual bool HasOffTheRecordProfile() OVERRIDE; | 94 virtual bool HasOffTheRecordProfile() OVERRIDE; |
95 virtual Profile* GetOriginalProfile() OVERRIDE; | 95 virtual Profile* GetOriginalProfile() OVERRIDE; |
96 virtual history::TopSites* GetTopSites() OVERRIDE; | 96 virtual history::TopSites* GetTopSites() OVERRIDE; |
97 virtual history::TopSites* GetTopSitesWithoutCreating() OVERRIDE; | 97 virtual history::TopSites* GetTopSitesWithoutCreating() OVERRIDE; |
98 virtual ExtensionService* GetExtensionService() OVERRIDE; | 98 virtual ExtensionService* GetExtensionService() OVERRIDE; |
99 virtual ExtensionSpecialStoragePolicy* | 99 virtual ExtensionSpecialStoragePolicy* |
100 GetExtensionSpecialStoragePolicy() OVERRIDE; | 100 GetExtensionSpecialStoragePolicy() OVERRIDE; |
101 virtual GAIAInfoUpdateService* GetGAIAInfoUpdateService() OVERRIDE; | |
102 virtual policy::ManagedModePolicyProvider* | 101 virtual policy::ManagedModePolicyProvider* |
103 GetManagedModePolicyProvider() OVERRIDE; | 102 GetManagedModePolicyProvider() OVERRIDE; |
104 virtual policy::PolicyService* GetPolicyService() OVERRIDE; | 103 virtual policy::PolicyService* GetPolicyService() OVERRIDE; |
105 virtual PrefService* GetPrefs() OVERRIDE; | 104 virtual PrefService* GetPrefs() OVERRIDE; |
106 virtual PrefService* GetOffTheRecordPrefs() OVERRIDE; | 105 virtual PrefService* GetOffTheRecordPrefs() OVERRIDE; |
107 virtual net::URLRequestContextGetter* | 106 virtual net::URLRequestContextGetter* |
108 GetRequestContextForExtensions() OVERRIDE; | 107 GetRequestContextForExtensions() OVERRIDE; |
109 virtual net::SSLConfigService* GetSSLConfigService() OVERRIDE; | 108 virtual net::SSLConfigService* GetSSLConfigService() OVERRIDE; |
110 virtual HostContentSettingsMap* GetHostContentSettingsMap() OVERRIDE; | 109 virtual HostContentSettingsMap* GetHostContentSettingsMap() OVERRIDE; |
111 virtual ProtocolHandlerRegistry* GetProtocolHandlerRegistry() OVERRIDE; | 110 virtual ProtocolHandlerRegistry* GetProtocolHandlerRegistry() OVERRIDE; |
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
225 scoped_ptr<PrefService> otr_prefs_; | 224 scoped_ptr<PrefService> otr_prefs_; |
226 ProfileImplIOData::Handle io_data_; | 225 ProfileImplIOData::Handle io_data_; |
227 scoped_refptr<ExtensionSpecialStoragePolicy> | 226 scoped_refptr<ExtensionSpecialStoragePolicy> |
228 extension_special_storage_policy_; | 227 extension_special_storage_policy_; |
229 scoped_ptr<NetPrefObserver> net_pref_observer_; | 228 scoped_ptr<NetPrefObserver> net_pref_observer_; |
230 scoped_refptr<PromoResourceService> promo_resource_service_; | 229 scoped_refptr<PromoResourceService> promo_resource_service_; |
231 scoped_ptr<SSLConfigServiceManager> ssl_config_service_manager_; | 230 scoped_ptr<SSLConfigServiceManager> ssl_config_service_manager_; |
232 scoped_refptr<HostContentSettingsMap> host_content_settings_map_; | 231 scoped_refptr<HostContentSettingsMap> host_content_settings_map_; |
233 scoped_refptr<content::GeolocationPermissionContext> | 232 scoped_refptr<content::GeolocationPermissionContext> |
234 geolocation_permission_context_; | 233 geolocation_permission_context_; |
235 scoped_ptr<GAIAInfoUpdateService> gaia_info_update_service_; | |
236 scoped_refptr<history::ShortcutsBackend> shortcuts_backend_; | 234 scoped_refptr<history::ShortcutsBackend> shortcuts_backend_; |
237 | 235 |
238 // Exit type the last time the profile was opened. This is set only once from | 236 // Exit type the last time the profile was opened. This is set only once from |
239 // prefs. | 237 // prefs. |
240 ExitType last_session_exit_type_; | 238 ExitType last_session_exit_type_; |
241 | 239 |
242 #if defined(ENABLE_SESSION_SERVICE) | 240 #if defined(ENABLE_SESSION_SERVICE) |
243 base::OneShotTimer<ProfileImpl> create_session_service_timer_; | 241 base::OneShotTimer<ProfileImpl> create_session_service_timer_; |
244 #endif | 242 #endif |
245 | 243 |
(...skipping 30 matching lines...) Expand all Loading... |
276 // chrome/browser/profile/profile_keyed_dependency_manager.{h,cc} | 274 // chrome/browser/profile/profile_keyed_dependency_manager.{h,cc} |
277 | 275 |
278 Profile::Delegate* delegate_; | 276 Profile::Delegate* delegate_; |
279 | 277 |
280 chrome_browser_net::Predictor* predictor_; | 278 chrome_browser_net::Predictor* predictor_; |
281 | 279 |
282 DISALLOW_COPY_AND_ASSIGN(ProfileImpl); | 280 DISALLOW_COPY_AND_ASSIGN(ProfileImpl); |
283 }; | 281 }; |
284 | 282 |
285 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ | 283 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ |
OLD | NEW |