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 217 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
228 // the latter. | 228 // the latter. |
229 scoped_ptr<TrackedPreferenceValidationDelegate> pref_validation_delegate_; | 229 scoped_ptr<TrackedPreferenceValidationDelegate> pref_validation_delegate_; |
230 | 230 |
231 // Keep |prefs_| on top for destruction order because |extension_prefs_|, | 231 // Keep |prefs_| on top for destruction order because |extension_prefs_|, |
232 // |net_pref_observer_|, |io_data_| and others store pointers to |prefs_| and | 232 // |net_pref_observer_|, |io_data_| and others store pointers to |prefs_| and |
233 // shall be destructed first. | 233 // shall be destructed first. |
234 scoped_refptr<user_prefs::PrefRegistrySyncable> pref_registry_; | 234 scoped_refptr<user_prefs::PrefRegistrySyncable> pref_registry_; |
235 scoped_ptr<PrefServiceSyncable> prefs_; | 235 scoped_ptr<PrefServiceSyncable> prefs_; |
236 scoped_ptr<PrefServiceSyncable> otr_prefs_; | 236 scoped_ptr<PrefServiceSyncable> otr_prefs_; |
237 ProfileImplIOData::Handle io_data_; | 237 ProfileImplIOData::Handle io_data_; |
| 238 #if defined(ENABLE_EXTENSIONS) |
238 scoped_refptr<ExtensionSpecialStoragePolicy> | 239 scoped_refptr<ExtensionSpecialStoragePolicy> |
239 extension_special_storage_policy_; | 240 extension_special_storage_policy_; |
| 241 #endif |
240 scoped_ptr<NetPrefObserver> net_pref_observer_; | 242 scoped_ptr<NetPrefObserver> net_pref_observer_; |
241 scoped_ptr<SSLConfigServiceManager> ssl_config_service_manager_; | 243 scoped_ptr<SSLConfigServiceManager> ssl_config_service_manager_; |
242 scoped_refptr<HostContentSettingsMap> host_content_settings_map_; | 244 scoped_refptr<HostContentSettingsMap> host_content_settings_map_; |
243 scoped_refptr<ShortcutsBackend> shortcuts_backend_; | 245 scoped_refptr<ShortcutsBackend> shortcuts_backend_; |
244 | 246 |
245 // Exit type the last time the profile was opened. This is set only once from | 247 // Exit type the last time the profile was opened. This is set only once from |
246 // prefs. | 248 // prefs. |
247 ExitType last_session_exit_type_; | 249 ExitType last_session_exit_type_; |
248 | 250 |
249 #if defined(ENABLE_SESSION_SERVICE) | 251 #if defined(ENABLE_SESSION_SERVICE) |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
282 // components/keyed_service/content/browser_context_keyed_service_factory.* | 284 // components/keyed_service/content/browser_context_keyed_service_factory.* |
283 | 285 |
284 Profile::Delegate* delegate_; | 286 Profile::Delegate* delegate_; |
285 | 287 |
286 chrome_browser_net::Predictor* predictor_; | 288 chrome_browser_net::Predictor* predictor_; |
287 | 289 |
288 DISALLOW_COPY_AND_ASSIGN(ProfileImpl); | 290 DISALLOW_COPY_AND_ASSIGN(ProfileImpl); |
289 }; | 291 }; |
290 | 292 |
291 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ | 293 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ |
OLD | NEW |