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 const std::string& cros_user); | 122 const std::string& cros_user); |
123 virtual TokenService* GetTokenService(); | 123 virtual TokenService* GetTokenService(); |
124 void InitSyncService(const std::string& cros_user); | 124 void InitSyncService(const std::string& cros_user); |
125 virtual CloudPrintProxyService* GetCloudPrintProxyService(); | 125 virtual CloudPrintProxyService* GetCloudPrintProxyService(); |
126 void InitCloudPrintProxyService(); | 126 void InitCloudPrintProxyService(); |
127 virtual ChromeBlobStorageContext* GetBlobStorageContext(); | 127 virtual ChromeBlobStorageContext* GetBlobStorageContext(); |
128 virtual ExtensionInfoMap* GetExtensionInfoMap(); | 128 virtual ExtensionInfoMap* GetExtensionInfoMap(); |
129 virtual PromoCounter* GetInstantPromoCounter(); | 129 virtual PromoCounter* GetInstantPromoCounter(); |
130 virtual BrowserSignin* GetBrowserSignin(); | 130 virtual BrowserSignin* GetBrowserSignin(); |
131 virtual ChromeURLDataManager* GetChromeURLDataManager(); | 131 virtual ChromeURLDataManager* GetChromeURLDataManager(); |
| 132 virtual PrintPreviewDataManager* GetPrintPreviewDataManager(); |
132 | 133 |
133 #if defined(OS_CHROMEOS) | 134 #if defined(OS_CHROMEOS) |
134 virtual void ChangeAppLocale(const std::string& locale, AppLocaleChangedVia); | 135 virtual void ChangeAppLocale(const std::string& locale, AppLocaleChangedVia); |
135 virtual void OnLogin(); | 136 virtual void OnLogin(); |
136 virtual void SetupChromeOSEnterpriseExtensionObserver(); | 137 virtual void SetupChromeOSEnterpriseExtensionObserver(); |
137 virtual void InitChromeOSPreferences(); | 138 virtual void InitChromeOSPreferences(); |
138 #endif // defined(OS_CHROMEOS) | 139 #endif // defined(OS_CHROMEOS) |
139 | 140 |
140 virtual PrefProxyConfigTracker* GetProxyConfigTracker(); | 141 virtual PrefProxyConfigTracker* GetProxyConfigTracker(); |
141 virtual prerender::PrerenderManager* GetPrerenderManager(); | 142 virtual prerender::PrerenderManager* GetPrerenderManager(); |
(...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
293 scoped_ptr<chromeos::EnterpriseExtensionObserver> | 294 scoped_ptr<chromeos::EnterpriseExtensionObserver> |
294 chromeos_enterprise_extension_observer_; | 295 chromeos_enterprise_extension_observer_; |
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 |
| 304 scoped_refptr<PrintPreviewDataManager> print_preview_data_manager_; |
| 305 |
303 Profile::Delegate* delegate_; | 306 Profile::Delegate* delegate_; |
304 | 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 |