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 PrefServiceSyncable* GetPrefs() OVERRIDE; | 104 virtual PrefServiceSyncable* GetPrefs() OVERRIDE; |
106 virtual PrefServiceSyncable* GetOffTheRecordPrefs() OVERRIDE; | 105 virtual PrefServiceSyncable* 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 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
226 scoped_ptr<PrefServiceSyncable> otr_prefs_; | 225 scoped_ptr<PrefServiceSyncable> otr_prefs_; |
227 ProfileImplIOData::Handle io_data_; | 226 ProfileImplIOData::Handle io_data_; |
228 scoped_refptr<ExtensionSpecialStoragePolicy> | 227 scoped_refptr<ExtensionSpecialStoragePolicy> |
229 extension_special_storage_policy_; | 228 extension_special_storage_policy_; |
230 scoped_ptr<NetPrefObserver> net_pref_observer_; | 229 scoped_ptr<NetPrefObserver> net_pref_observer_; |
231 scoped_refptr<PromoResourceService> promo_resource_service_; | 230 scoped_refptr<PromoResourceService> promo_resource_service_; |
232 scoped_ptr<SSLConfigServiceManager> ssl_config_service_manager_; | 231 scoped_ptr<SSLConfigServiceManager> ssl_config_service_manager_; |
233 scoped_refptr<HostContentSettingsMap> host_content_settings_map_; | 232 scoped_refptr<HostContentSettingsMap> host_content_settings_map_; |
234 scoped_refptr<content::GeolocationPermissionContext> | 233 scoped_refptr<content::GeolocationPermissionContext> |
235 geolocation_permission_context_; | 234 geolocation_permission_context_; |
236 scoped_ptr<GAIAInfoUpdateService> gaia_info_update_service_; | |
237 scoped_refptr<history::ShortcutsBackend> shortcuts_backend_; | 235 scoped_refptr<history::ShortcutsBackend> shortcuts_backend_; |
238 | 236 |
239 // Exit type the last time the profile was opened. This is set only once from | 237 // Exit type the last time the profile was opened. This is set only once from |
240 // prefs. | 238 // prefs. |
241 ExitType last_session_exit_type_; | 239 ExitType last_session_exit_type_; |
242 | 240 |
243 #if defined(ENABLE_SESSION_SERVICE) | 241 #if defined(ENABLE_SESSION_SERVICE) |
244 base::OneShotTimer<ProfileImpl> create_session_service_timer_; | 242 base::OneShotTimer<ProfileImpl> create_session_service_timer_; |
245 #endif | 243 #endif |
246 | 244 |
(...skipping 30 matching lines...) Expand all Loading... |
277 // chrome/browser/profile/profile_keyed_dependency_manager.{h,cc} | 275 // chrome/browser/profile/profile_keyed_dependency_manager.{h,cc} |
278 | 276 |
279 Profile::Delegate* delegate_; | 277 Profile::Delegate* delegate_; |
280 | 278 |
281 chrome_browser_net::Predictor* predictor_; | 279 chrome_browser_net::Predictor* predictor_; |
282 | 280 |
283 DISALLOW_COPY_AND_ASSIGN(ProfileImpl); | 281 DISALLOW_COPY_AND_ASSIGN(ProfileImpl); |
284 }; | 282 }; |
285 | 283 |
286 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ | 284 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ |
OLD | NEW |