| 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 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 101 GetRequestContextForExtensions() OVERRIDE; | 101 GetRequestContextForExtensions() OVERRIDE; |
| 102 virtual net::SSLConfigService* GetSSLConfigService() OVERRIDE; | 102 virtual net::SSLConfigService* GetSSLConfigService() OVERRIDE; |
| 103 virtual HostContentSettingsMap* GetHostContentSettingsMap() OVERRIDE; | 103 virtual HostContentSettingsMap* GetHostContentSettingsMap() OVERRIDE; |
| 104 virtual ProtocolHandlerRegistry* GetProtocolHandlerRegistry() OVERRIDE; | 104 virtual ProtocolHandlerRegistry* GetProtocolHandlerRegistry() OVERRIDE; |
| 105 virtual bool IsSameProfile(Profile* profile) OVERRIDE; | 105 virtual bool IsSameProfile(Profile* profile) OVERRIDE; |
| 106 virtual base::Time GetStartTime() const OVERRIDE; | 106 virtual base::Time GetStartTime() const OVERRIDE; |
| 107 virtual void InitPromoResources() OVERRIDE; | 107 virtual void InitPromoResources() OVERRIDE; |
| 108 virtual FilePath last_selected_directory() OVERRIDE; | 108 virtual FilePath last_selected_directory() OVERRIDE; |
| 109 virtual void set_last_selected_directory(const FilePath& path) OVERRIDE; | 109 virtual void set_last_selected_directory(const FilePath& path) OVERRIDE; |
| 110 virtual chrome_browser_net::Predictor* GetNetworkPredictor() OVERRIDE; | 110 virtual chrome_browser_net::Predictor* GetNetworkPredictor() OVERRIDE; |
| 111 virtual void ClearNetworkingHistorySince(base::Time time) OVERRIDE; | 111 virtual void ClearNetworkingHistorySince( |
| 112 base::Time time, |
| 113 const base::Closure& completion) OVERRIDE; |
| 112 virtual GURL GetHomePage() OVERRIDE; | 114 virtual GURL GetHomePage() OVERRIDE; |
| 113 virtual bool WasCreatedByVersionOrLater(const std::string& version) OVERRIDE; | 115 virtual bool WasCreatedByVersionOrLater(const std::string& version) OVERRIDE; |
| 114 virtual void SetExitType(ExitType exit_type) OVERRIDE; | 116 virtual void SetExitType(ExitType exit_type) OVERRIDE; |
| 115 virtual ExitType GetLastSessionExitType() OVERRIDE; | 117 virtual ExitType GetLastSessionExitType() OVERRIDE; |
| 116 | 118 |
| 117 #if defined(OS_CHROMEOS) | 119 #if defined(OS_CHROMEOS) |
| 118 virtual void ChangeAppLocale(const std::string& locale, | 120 virtual void ChangeAppLocale(const std::string& locale, |
| 119 AppLocaleChangedVia) OVERRIDE; | 121 AppLocaleChangedVia) OVERRIDE; |
| 120 virtual void OnLogin() OVERRIDE; | 122 virtual void OnLogin() OVERRIDE; |
| 121 virtual void SetupChromeOSEnterpriseExtensionObserver() OVERRIDE; | 123 virtual void SetupChromeOSEnterpriseExtensionObserver() OVERRIDE; |
| (...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 266 // chrome/browser/profile/profile_keyed_dependency_manager.{h,cc} | 268 // chrome/browser/profile/profile_keyed_dependency_manager.{h,cc} |
| 267 | 269 |
| 268 Profile::Delegate* delegate_; | 270 Profile::Delegate* delegate_; |
| 269 | 271 |
| 270 chrome_browser_net::Predictor* predictor_; | 272 chrome_browser_net::Predictor* predictor_; |
| 271 | 273 |
| 272 DISALLOW_COPY_AND_ASSIGN(ProfileImpl); | 274 DISALLOW_COPY_AND_ASSIGN(ProfileImpl); |
| 273 }; | 275 }; |
| 274 | 276 |
| 275 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ | 277 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ |
| OLD | NEW |