| 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 235 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 246 | 246 |
| 247 scoped_ptr<Profile> off_the_record_profile_; | 247 scoped_ptr<Profile> off_the_record_profile_; |
| 248 | 248 |
| 249 // See GetStartTime for details. | 249 // See GetStartTime for details. |
| 250 base::Time start_time_; | 250 base::Time start_time_; |
| 251 | 251 |
| 252 #if defined(OS_CHROMEOS) | 252 #if defined(OS_CHROMEOS) |
| 253 scoped_ptr<chromeos::Preferences> chromeos_preferences_; | 253 scoped_ptr<chromeos::Preferences> chromeos_preferences_; |
| 254 | 254 |
| 255 scoped_ptr<chromeos::LocaleChangeGuard> locale_change_guard_; | 255 scoped_ptr<chromeos::LocaleChangeGuard> locale_change_guard_; |
| 256 | |
| 257 bool is_login_profile_; | |
| 258 #endif | 256 #endif |
| 259 | 257 |
| 260 scoped_ptr<PrefProxyConfigTracker> pref_proxy_config_tracker_; | 258 scoped_ptr<PrefProxyConfigTracker> pref_proxy_config_tracker_; |
| 261 | 259 |
| 262 // STOP!!!! DO NOT ADD ANY MORE ITEMS HERE!!!! | 260 // STOP!!!! DO NOT ADD ANY MORE ITEMS HERE!!!! |
| 263 // | 261 // |
| 264 // Instead, make your Service/Manager/whatever object you're hanging off the | 262 // Instead, make your Service/Manager/whatever object you're hanging off the |
| 265 // Profile use our new BrowserContextKeyedServiceFactory system instead. | 263 // Profile use our new BrowserContextKeyedServiceFactory system instead. |
| 266 // You can find the design document here: | 264 // You can find the design document here: |
| 267 // | 265 // |
| 268 // https://sites.google.com/a/chromium.org/dev/developers/design-documents/p
rofile-architecture | 266 // https://sites.google.com/a/chromium.org/dev/developers/design-documents/p
rofile-architecture |
| 269 // | 267 // |
| 270 // and you can read the raw headers here: | 268 // and you can read the raw headers here: |
| 271 // | 269 // |
| 272 // components/keyed_service/content/browser_context_dependency_manager.* | 270 // components/keyed_service/content/browser_context_dependency_manager.* |
| 273 // components/keyed_service/core/keyed_service.h | 271 // components/keyed_service/core/keyed_service.h |
| 274 // components/keyed_service/content/browser_context_keyed_service_factory.* | 272 // components/keyed_service/content/browser_context_keyed_service_factory.* |
| 275 | 273 |
| 276 Profile::Delegate* delegate_; | 274 Profile::Delegate* delegate_; |
| 277 | 275 |
| 278 chrome_browser_net::Predictor* predictor_; | 276 chrome_browser_net::Predictor* predictor_; |
| 279 | 277 |
| 280 DISALLOW_COPY_AND_ASSIGN(ProfileImpl); | 278 DISALLOW_COPY_AND_ASSIGN(ProfileImpl); |
| 281 }; | 279 }; |
| 282 | 280 |
| 283 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ | 281 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ |
| OLD | NEW |