 Chromium Code Reviews
 Chromium Code Reviews Issue 9111035:
  Profiles: Add a size check to ProfileImpl to make sure it no longer grows.  (Closed) 
  Base URL: http://git.chromium.org/chromium/src.git@master
    
  
    Issue 9111035:
  Profiles: Add a size check to ProfileImpl to make sure it no longer grows.  (Closed) 
  Base URL: http://git.chromium.org/chromium/src.git@master| OLD | NEW | 
|---|---|
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 #pragma once | 9 #pragma once | 
| 10 | 10 | 
| (...skipping 298 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 309 scoped_ptr<chromeos::EnterpriseExtensionObserver> | 309 scoped_ptr<chromeos::EnterpriseExtensionObserver> | 
| 310 chromeos_enterprise_extension_observer_; | 310 chromeos_enterprise_extension_observer_; | 
| 311 | 311 | 
| 312 scoped_ptr<chromeos::LocaleChangeGuard> locale_change_guard_; | 312 scoped_ptr<chromeos::LocaleChangeGuard> locale_change_guard_; | 
| 313 #endif | 313 #endif | 
| 314 | 314 | 
| 315 scoped_ptr<PrefProxyConfigTracker> pref_proxy_config_tracker_; | 315 scoped_ptr<PrefProxyConfigTracker> pref_proxy_config_tracker_; | 
| 316 | 316 | 
| 317 scoped_ptr<ChromeURLDataManager> chrome_url_data_manager_; | 317 scoped_ptr<ChromeURLDataManager> chrome_url_data_manager_; | 
| 318 | 318 | 
| 319 // STOP!!!! DO NOT ADD ANY MORE ITEMS HERE!!!! | |
| 320 // | |
| 321 // Instead, make your Service/Manager/whatever object you're hanging off the | |
| 322 // Profile use our new ProfileKeyedSerivceFactory system instead. You can | |
| 
Miranda Callahan
2012/01/06 15:34:57
nit/serivce/service
 | |
| 323 // find the design document here: | |
| 324 // | |
| 325 // https://sites.google.com/a/chromium.org/dev/developers/design-documents/p rofile-architecture | |
| 326 // | |
| 327 // and you can read the raw headers here: | |
| 328 // | |
| 329 // chrome/browser/profile/profile_keyed_service.h | |
| 330 // chrome/browser/profile/profile_keyed_service_factory.{h,cc} | |
| 331 // chrome/browser/profile/profile_keyed_dependency_manager.{h,cc} | |
| 332 | |
| 319 Profile::Delegate* delegate_; | 333 Profile::Delegate* delegate_; | 
| 320 | 334 | 
| 321 chrome_browser_net::Predictor* predictor_; | 335 chrome_browser_net::Predictor* predictor_; | 
| 322 | 336 | 
| 323 bool session_restore_enabled_; | 337 bool session_restore_enabled_; | 
| 324 | 338 | 
| 325 DISALLOW_COPY_AND_ASSIGN(ProfileImpl); | 339 DISALLOW_COPY_AND_ASSIGN(ProfileImpl); | 
| 326 }; | 340 }; | 
| 327 | 341 | 
| 328 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ | 342 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ | 
| OLD | NEW |