| 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 52 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 63 } | 63 } | 
| 64 | 64 | 
| 65 namespace user_prefs { | 65 namespace user_prefs { | 
| 66 class refRegistrySyncable; | 66 class refRegistrySyncable; | 
| 67 } | 67 } | 
| 68 | 68 | 
| 69 // The default profile implementation. | 69 // The default profile implementation. | 
| 70 class ProfileImpl : public Profile { | 70 class ProfileImpl : public Profile { | 
| 71  public: | 71  public: | 
| 72   // Value written to prefs when the exit type is EXIT_NORMAL. Public for tests. | 72   // Value written to prefs when the exit type is EXIT_NORMAL. Public for tests. | 
| 73   static const char* const kPrefExitTypeNormal; | 73   static const char kPrefExitTypeNormal[]; | 
| 74 | 74 | 
| 75   ~ProfileImpl() override; | 75   ~ProfileImpl() override; | 
| 76 | 76 | 
| 77   static void RegisterProfilePrefs(user_prefs::PrefRegistrySyncable* registry); | 77   static void RegisterProfilePrefs(user_prefs::PrefRegistrySyncable* registry); | 
| 78 | 78 | 
| 79   // content::BrowserContext implementation: | 79   // content::BrowserContext implementation: | 
| 80   scoped_ptr<content::ZoomLevelDelegate> CreateZoomLevelDelegate( | 80   scoped_ptr<content::ZoomLevelDelegate> CreateZoomLevelDelegate( | 
| 81       const base::FilePath& partition_path) override; | 81       const base::FilePath& partition_path) override; | 
| 82   base::FilePath GetPath() const override; | 82   base::FilePath GetPath() const override; | 
| 83   content::DownloadManagerDelegate* GetDownloadManagerDelegate() override; | 83   content::DownloadManagerDelegate* GetDownloadManagerDelegate() override; | 
| (...skipping 194 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 278   // components/keyed_service/content/browser_context_keyed_service_factory.* | 278   // components/keyed_service/content/browser_context_keyed_service_factory.* | 
| 279 | 279 | 
| 280   Profile::Delegate* delegate_; | 280   Profile::Delegate* delegate_; | 
| 281 | 281 | 
| 282   chrome_browser_net::Predictor* predictor_; | 282   chrome_browser_net::Predictor* predictor_; | 
| 283 | 283 | 
| 284   DISALLOW_COPY_AND_ASSIGN(ProfileImpl); | 284   DISALLOW_COPY_AND_ASSIGN(ProfileImpl); | 
| 285 }; | 285 }; | 
| 286 | 286 | 
| 287 #endif  // CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ | 287 #endif  // CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ | 
| OLD | NEW | 
|---|