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 225 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
236 #endif | 236 #endif |
237 scoped_ptr<NetPrefObserver> net_pref_observer_; | 237 scoped_ptr<NetPrefObserver> net_pref_observer_; |
238 scoped_ptr<SSLConfigServiceManager> ssl_config_service_manager_; | 238 scoped_ptr<SSLConfigServiceManager> ssl_config_service_manager_; |
239 scoped_refptr<ShortcutsBackend> shortcuts_backend_; | 239 scoped_refptr<ShortcutsBackend> shortcuts_backend_; |
240 | 240 |
241 // Exit type the last time the profile was opened. This is set only once from | 241 // Exit type the last time the profile was opened. This is set only once from |
242 // prefs. | 242 // prefs. |
243 ExitType last_session_exit_type_; | 243 ExitType last_session_exit_type_; |
244 | 244 |
245 #if defined(ENABLE_SESSION_SERVICE) | 245 #if defined(ENABLE_SESSION_SERVICE) |
246 base::OneShotTimer<ProfileImpl> create_session_service_timer_; | 246 base::OneShotTimer create_session_service_timer_; |
247 #endif | 247 #endif |
248 | 248 |
249 scoped_ptr<Profile> off_the_record_profile_; | 249 scoped_ptr<Profile> off_the_record_profile_; |
250 | 250 |
251 // See GetStartTime for details. | 251 // See GetStartTime for details. |
252 base::Time start_time_; | 252 base::Time start_time_; |
253 | 253 |
254 #if defined(OS_CHROMEOS) | 254 #if defined(OS_CHROMEOS) |
255 scoped_ptr<chromeos::Preferences> chromeos_preferences_; | 255 scoped_ptr<chromeos::Preferences> chromeos_preferences_; |
256 | 256 |
(...skipping 17 matching lines...) Expand all Loading... |
274 // components/keyed_service/content/browser_context_keyed_service_factory.* | 274 // components/keyed_service/content/browser_context_keyed_service_factory.* |
275 | 275 |
276 Profile::Delegate* delegate_; | 276 Profile::Delegate* delegate_; |
277 | 277 |
278 chrome_browser_net::Predictor* predictor_; | 278 chrome_browser_net::Predictor* predictor_; |
279 | 279 |
280 DISALLOW_COPY_AND_ASSIGN(ProfileImpl); | 280 DISALLOW_COPY_AND_ASSIGN(ProfileImpl); |
281 }; | 281 }; |
282 | 282 |
283 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ | 283 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ |
OLD | NEW |