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 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
122 virtual ProfileSyncService* GetProfileSyncService() OVERRIDE; | 122 virtual ProfileSyncService* GetProfileSyncService() OVERRIDE; |
123 virtual ProfileSyncService* GetProfileSyncService( | 123 virtual ProfileSyncService* GetProfileSyncService( |
124 const std::string& cros_user) OVERRIDE; | 124 const std::string& cros_user) OVERRIDE; |
125 virtual TokenService* GetTokenService() OVERRIDE; | 125 virtual TokenService* GetTokenService() OVERRIDE; |
126 void InitSyncService(const std::string& cros_user); | 126 void InitSyncService(const std::string& cros_user); |
127 virtual ExtensionInfoMap* GetExtensionInfoMap() OVERRIDE; | 127 virtual ExtensionInfoMap* GetExtensionInfoMap() OVERRIDE; |
128 virtual PromoCounter* GetInstantPromoCounter() OVERRIDE; | 128 virtual PromoCounter* GetInstantPromoCounter() OVERRIDE; |
129 virtual ChromeURLDataManager* GetChromeURLDataManager() OVERRIDE; | 129 virtual ChromeURLDataManager* GetChromeURLDataManager() OVERRIDE; |
130 virtual chrome_browser_net::Predictor* GetNetworkPredictor() OVERRIDE; | 130 virtual chrome_browser_net::Predictor* GetNetworkPredictor() OVERRIDE; |
131 virtual void ClearNetworkingHistorySince(base::Time time) OVERRIDE; | 131 virtual void ClearNetworkingHistorySince(base::Time time) OVERRIDE; |
| 132 virtual GURL GetHomePage() OVERRIDE; |
132 | 133 |
133 #if defined(OS_CHROMEOS) | 134 #if defined(OS_CHROMEOS) |
134 virtual void ChangeAppLocale(const std::string& locale, | 135 virtual void ChangeAppLocale(const std::string& locale, |
135 AppLocaleChangedVia) OVERRIDE; | 136 AppLocaleChangedVia) OVERRIDE; |
136 virtual void OnLogin() OVERRIDE; | 137 virtual void OnLogin() OVERRIDE; |
137 virtual void SetupChromeOSEnterpriseExtensionObserver() OVERRIDE; | 138 virtual void SetupChromeOSEnterpriseExtensionObserver() OVERRIDE; |
138 virtual void InitChromeOSPreferences() OVERRIDE; | 139 virtual void InitChromeOSPreferences() OVERRIDE; |
139 #endif // defined(OS_CHROMEOS) | 140 #endif // defined(OS_CHROMEOS) |
140 | 141 |
141 virtual PrefProxyConfigTracker* GetProxyConfigTracker() OVERRIDE; | 142 virtual PrefProxyConfigTracker* GetProxyConfigTracker() OVERRIDE; |
(...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
288 scoped_ptr<ChromeURLDataManager> chrome_url_data_manager_; | 289 scoped_ptr<ChromeURLDataManager> chrome_url_data_manager_; |
289 | 290 |
290 Profile::Delegate* delegate_; | 291 Profile::Delegate* delegate_; |
291 | 292 |
292 chrome_browser_net::Predictor* predictor_; | 293 chrome_browser_net::Predictor* predictor_; |
293 | 294 |
294 DISALLOW_COPY_AND_ASSIGN(ProfileImpl); | 295 DISALLOW_COPY_AND_ASSIGN(ProfileImpl); |
295 }; | 296 }; |
296 | 297 |
297 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ | 298 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ |
OLD | NEW |