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 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
119 virtual ProfileSyncService* GetProfileSyncService(); | 119 virtual ProfileSyncService* GetProfileSyncService(); |
120 virtual ProfileSyncService* GetProfileSyncService( | 120 virtual ProfileSyncService* GetProfileSyncService( |
121 const std::string& cros_user); | 121 const std::string& cros_user); |
122 virtual TokenService* GetTokenService(); | 122 virtual TokenService* GetTokenService(); |
123 void InitSyncService(const std::string& cros_user); | 123 void InitSyncService(const std::string& cros_user); |
124 virtual ChromeBlobStorageContext* GetBlobStorageContext(); | 124 virtual ChromeBlobStorageContext* GetBlobStorageContext(); |
125 virtual ExtensionInfoMap* GetExtensionInfoMap(); | 125 virtual ExtensionInfoMap* GetExtensionInfoMap(); |
126 virtual PromoCounter* GetInstantPromoCounter(); | 126 virtual PromoCounter* GetInstantPromoCounter(); |
127 virtual BrowserSignin* GetBrowserSignin(); | 127 virtual BrowserSignin* GetBrowserSignin(); |
128 virtual ChromeURLDataManager* GetChromeURLDataManager(); | 128 virtual ChromeURLDataManager* GetChromeURLDataManager(); |
| 129 virtual chrome_browser_net::Predictor* GetNetworkPredictor(); |
129 | 130 |
130 #if defined(OS_CHROMEOS) | 131 #if defined(OS_CHROMEOS) |
131 virtual void ChangeAppLocale(const std::string& locale, AppLocaleChangedVia); | 132 virtual void ChangeAppLocale(const std::string& locale, AppLocaleChangedVia); |
132 virtual void OnLogin(); | 133 virtual void OnLogin(); |
133 virtual void SetupChromeOSEnterpriseExtensionObserver(); | 134 virtual void SetupChromeOSEnterpriseExtensionObserver(); |
134 virtual void InitChromeOSPreferences(); | 135 virtual void InitChromeOSPreferences(); |
135 #endif // defined(OS_CHROMEOS) | 136 #endif // defined(OS_CHROMEOS) |
136 | 137 |
137 virtual PrefProxyConfigTracker* GetProxyConfigTracker(); | 138 virtual PrefProxyConfigTracker* GetProxyConfigTracker(); |
138 virtual prerender::PrerenderManager* GetPrerenderManager(); | 139 virtual prerender::PrerenderManager* GetPrerenderManager(); |
(...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
295 | 296 |
296 scoped_ptr<chromeos::LocaleChangeGuard> locale_change_guard_; | 297 scoped_ptr<chromeos::LocaleChangeGuard> locale_change_guard_; |
297 #endif | 298 #endif |
298 | 299 |
299 scoped_refptr<PrefProxyConfigTracker> pref_proxy_config_tracker_; | 300 scoped_refptr<PrefProxyConfigTracker> pref_proxy_config_tracker_; |
300 | 301 |
301 scoped_ptr<ChromeURLDataManager> chrome_url_data_manager_; | 302 scoped_ptr<ChromeURLDataManager> chrome_url_data_manager_; |
302 | 303 |
303 Profile::Delegate* delegate_; | 304 Profile::Delegate* delegate_; |
304 | 305 |
| 306 chrome_browser_net::Predictor* predictor_; |
| 307 |
305 DISALLOW_COPY_AND_ASSIGN(ProfileImpl); | 308 DISALLOW_COPY_AND_ASSIGN(ProfileImpl); |
306 }; | 309 }; |
307 | 310 |
308 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ | 311 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ |
OLD | NEW |