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 117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
128 void InitCloudPrintProxyService(); | 128 void InitCloudPrintProxyService(); |
129 virtual ChromeBlobStorageContext* GetBlobStorageContext(); | 129 virtual ChromeBlobStorageContext* GetBlobStorageContext(); |
130 virtual ExtensionInfoMap* GetExtensionInfoMap(); | 130 virtual ExtensionInfoMap* GetExtensionInfoMap(); |
131 virtual PromoCounter* GetInstantPromoCounter(); | 131 virtual PromoCounter* GetInstantPromoCounter(); |
132 virtual BrowserSignin* GetBrowserSignin(); | 132 virtual BrowserSignin* GetBrowserSignin(); |
133 virtual policy::ProfilePolicyContext* GetPolicyContext(); | 133 virtual policy::ProfilePolicyContext* GetPolicyContext(); |
134 virtual ChromeURLDataManager* GetChromeURLDataManager(); | 134 virtual ChromeURLDataManager* GetChromeURLDataManager(); |
135 | 135 |
136 #if defined(OS_CHROMEOS) | 136 #if defined(OS_CHROMEOS) |
137 virtual void ChangeAppLocale(const std::string& locale, AppLocaleChangedVia); | 137 virtual void ChangeAppLocale(const std::string& locale, AppLocaleChangedVia); |
138 virtual chromeos::ProxyConfigServiceImpl* GetChromeOSProxyConfigServiceImpl(); | |
139 virtual void SetupChromeOSEnterpriseExtensionObserver(); | 138 virtual void SetupChromeOSEnterpriseExtensionObserver(); |
140 virtual void InitChromeOSPreferences(); | 139 virtual void InitChromeOSPreferences(); |
141 #endif // defined(OS_CHROMEOS) | 140 #endif // defined(OS_CHROMEOS) |
142 | 141 |
143 virtual PrefProxyConfigTracker* GetProxyConfigTracker(); | 142 virtual PrefProxyConfigTracker* GetProxyConfigTracker(); |
144 virtual prerender::PrerenderManager* GetPrerenderManager(); | 143 virtual prerender::PrerenderManager* GetPrerenderManager(); |
145 | 144 |
146 // NotificationObserver implementation. | 145 // NotificationObserver implementation. |
147 virtual void Observe(NotificationType type, | 146 virtual void Observe(NotificationType type, |
148 const NotificationSource& source, | 147 const NotificationSource& source, |
(...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
290 | 289 |
291 scoped_refptr<history::TopSites> top_sites_; // For history and thumbnails. | 290 scoped_refptr<history::TopSites> top_sites_; // For history and thumbnails. |
292 | 291 |
293 scoped_refptr<ChromeBlobStorageContext> blob_storage_context_; | 292 scoped_refptr<ChromeBlobStorageContext> blob_storage_context_; |
294 | 293 |
295 scoped_refptr<ExtensionInfoMap> extension_info_map_; | 294 scoped_refptr<ExtensionInfoMap> extension_info_map_; |
296 | 295 |
297 #if defined(OS_CHROMEOS) | 296 #if defined(OS_CHROMEOS) |
298 scoped_ptr<chromeos::Preferences> chromeos_preferences_; | 297 scoped_ptr<chromeos::Preferences> chromeos_preferences_; |
299 | 298 |
300 scoped_refptr<chromeos::ProxyConfigServiceImpl> | |
301 chromeos_proxy_config_service_impl_; | |
302 | |
303 scoped_ptr<chromeos::EnterpriseExtensionObserver> | 299 scoped_ptr<chromeos::EnterpriseExtensionObserver> |
304 chromeos_enterprise_extension_observer_; | 300 chromeos_enterprise_extension_observer_; |
305 #endif | 301 #endif |
306 | 302 |
307 scoped_refptr<PrefProxyConfigTracker> pref_proxy_config_tracker_; | 303 scoped_refptr<PrefProxyConfigTracker> pref_proxy_config_tracker_; |
308 | 304 |
309 scoped_refptr<prerender::PrerenderManager> prerender_manager_; | 305 scoped_refptr<prerender::PrerenderManager> prerender_manager_; |
310 | 306 |
311 scoped_ptr<ChromeURLDataManager> chrome_url_data_manager_; | 307 scoped_ptr<ChromeURLDataManager> chrome_url_data_manager_; |
312 | 308 |
313 DISALLOW_COPY_AND_ASSIGN(ProfileImpl); | 309 DISALLOW_COPY_AND_ASSIGN(ProfileImpl); |
314 }; | 310 }; |
315 | 311 |
316 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ | 312 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ |
OLD | NEW |