| 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 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 129 const std::string& cros_user) OVERRIDE; | 129 const std::string& cros_user) OVERRIDE; |
| 130 virtual TokenService* GetTokenService() OVERRIDE; | 130 virtual TokenService* GetTokenService() OVERRIDE; |
| 131 void InitSyncService(const std::string& cros_user); | 131 void InitSyncService(const std::string& cros_user); |
| 132 virtual ExtensionInfoMap* GetExtensionInfoMap() OVERRIDE; | 132 virtual ExtensionInfoMap* GetExtensionInfoMap() OVERRIDE; |
| 133 virtual PromoCounter* GetInstantPromoCounter() OVERRIDE; | 133 virtual PromoCounter* GetInstantPromoCounter() OVERRIDE; |
| 134 virtual ChromeURLDataManager* GetChromeURLDataManager() OVERRIDE; | 134 virtual ChromeURLDataManager* GetChromeURLDataManager() OVERRIDE; |
| 135 virtual chrome_browser_net::Predictor* GetNetworkPredictor() OVERRIDE; | 135 virtual chrome_browser_net::Predictor* GetNetworkPredictor() OVERRIDE; |
| 136 virtual void ClearNetworkingHistorySince(base::Time time) OVERRIDE; | 136 virtual void ClearNetworkingHistorySince(base::Time time) OVERRIDE; |
| 137 virtual GURL GetHomePage() OVERRIDE; | 137 virtual GURL GetHomePage() OVERRIDE; |
| 138 virtual NetworkActionPredictor* GetNetworkActionPredictor() OVERRIDE; | 138 virtual NetworkActionPredictor* GetNetworkActionPredictor() OVERRIDE; |
| 139 virtual void SaveSessionState() OVERRIDE; |
| 139 | 140 |
| 140 #if defined(OS_CHROMEOS) | 141 #if defined(OS_CHROMEOS) |
| 141 virtual void ChangeAppLocale(const std::string& locale, | 142 virtual void ChangeAppLocale(const std::string& locale, |
| 142 AppLocaleChangedVia) OVERRIDE; | 143 AppLocaleChangedVia) OVERRIDE; |
| 143 virtual void OnLogin() OVERRIDE; | 144 virtual void OnLogin() OVERRIDE; |
| 144 virtual void SetupChromeOSEnterpriseExtensionObserver() OVERRIDE; | 145 virtual void SetupChromeOSEnterpriseExtensionObserver() OVERRIDE; |
| 145 virtual void InitChromeOSPreferences() OVERRIDE; | 146 virtual void InitChromeOSPreferences() OVERRIDE; |
| 146 #endif // defined(OS_CHROMEOS) | 147 #endif // defined(OS_CHROMEOS) |
| 147 | 148 |
| 148 virtual PrefProxyConfigTracker* GetProxyConfigTracker() OVERRIDE; | 149 virtual PrefProxyConfigTracker* GetProxyConfigTracker() OVERRIDE; |
| (...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 296 #endif | 297 #endif |
| 297 | 298 |
| 298 scoped_ptr<PrefProxyConfigTracker> pref_proxy_config_tracker_; | 299 scoped_ptr<PrefProxyConfigTracker> pref_proxy_config_tracker_; |
| 299 | 300 |
| 300 scoped_ptr<ChromeURLDataManager> chrome_url_data_manager_; | 301 scoped_ptr<ChromeURLDataManager> chrome_url_data_manager_; |
| 301 | 302 |
| 302 Profile::Delegate* delegate_; | 303 Profile::Delegate* delegate_; |
| 303 | 304 |
| 304 chrome_browser_net::Predictor* predictor_; | 305 chrome_browser_net::Predictor* predictor_; |
| 305 | 306 |
| 307 bool session_restore_enabled_; |
| 308 |
| 306 DISALLOW_COPY_AND_ASSIGN(ProfileImpl); | 309 DISALLOW_COPY_AND_ASSIGN(ProfileImpl); |
| 307 }; | 310 }; |
| 308 | 311 |
| 309 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ | 312 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ |
| OLD | NEW |