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 209 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
220 // |net_pref_observer_|, |io_data_| an others store pointers to |prefs_| and | 220 // |net_pref_observer_|, |io_data_| an others store pointers to |prefs_| and |
221 // shall be destructed first. | 221 // shall be destructed first. |
222 scoped_ptr<PrefServiceSyncable> prefs_; | 222 scoped_ptr<PrefServiceSyncable> prefs_; |
223 scoped_ptr<PrefServiceSyncable> otr_prefs_; | 223 scoped_ptr<PrefServiceSyncable> otr_prefs_; |
224 ProfileImplIOData::Handle io_data_; | 224 ProfileImplIOData::Handle io_data_; |
225 scoped_refptr<ExtensionSpecialStoragePolicy> | 225 scoped_refptr<ExtensionSpecialStoragePolicy> |
226 extension_special_storage_policy_; | 226 extension_special_storage_policy_; |
227 scoped_ptr<NetPrefObserver> net_pref_observer_; | 227 scoped_ptr<NetPrefObserver> net_pref_observer_; |
228 scoped_ptr<SSLConfigServiceManager> ssl_config_service_manager_; | 228 scoped_ptr<SSLConfigServiceManager> ssl_config_service_manager_; |
229 scoped_refptr<HostContentSettingsMap> host_content_settings_map_; | 229 scoped_refptr<HostContentSettingsMap> host_content_settings_map_; |
230 scoped_refptr<content::GeolocationPermissionContext> | |
231 geolocation_permission_context_; | |
232 scoped_refptr<history::ShortcutsBackend> shortcuts_backend_; | 230 scoped_refptr<history::ShortcutsBackend> shortcuts_backend_; |
233 | 231 |
234 // Exit type the last time the profile was opened. This is set only once from | 232 // Exit type the last time the profile was opened. This is set only once from |
235 // prefs. | 233 // prefs. |
236 ExitType last_session_exit_type_; | 234 ExitType last_session_exit_type_; |
237 | 235 |
238 #if defined(ENABLE_SESSION_SERVICE) | 236 #if defined(ENABLE_SESSION_SERVICE) |
239 base::OneShotTimer<ProfileImpl> create_session_service_timer_; | 237 base::OneShotTimer<ProfileImpl> create_session_service_timer_; |
240 #endif | 238 #endif |
241 | 239 |
(...skipping 30 matching lines...) Expand all Loading... |
272 // chrome/browser/profile/profile_keyed_dependency_manager.{h,cc} | 270 // chrome/browser/profile/profile_keyed_dependency_manager.{h,cc} |
273 | 271 |
274 Profile::Delegate* delegate_; | 272 Profile::Delegate* delegate_; |
275 | 273 |
276 chrome_browser_net::Predictor* predictor_; | 274 chrome_browser_net::Predictor* predictor_; |
277 | 275 |
278 DISALLOW_COPY_AND_ASSIGN(ProfileImpl); | 276 DISALLOW_COPY_AND_ASSIGN(ProfileImpl); |
279 }; | 277 }; |
280 | 278 |
281 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ | 279 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ |
OLD | NEW |