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