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