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