| OLD | NEW |
| 1 // Copyright (c) 2010 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 |
| 11 #include "base/file_path.h" | 11 #include "base/file_path.h" |
| (...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 122 void InitSyncService(const std::string& cros_user); | 122 void InitSyncService(const std::string& cros_user); |
| 123 virtual CloudPrintProxyService* GetCloudPrintProxyService(); | 123 virtual CloudPrintProxyService* GetCloudPrintProxyService(); |
| 124 void InitCloudPrintProxyService(); | 124 void InitCloudPrintProxyService(); |
| 125 virtual ChromeBlobStorageContext* GetBlobStorageContext(); | 125 virtual ChromeBlobStorageContext* GetBlobStorageContext(); |
| 126 virtual ExtensionInfoMap* GetExtensionInfoMap(); | 126 virtual ExtensionInfoMap* GetExtensionInfoMap(); |
| 127 virtual PromoCounter* GetInstantPromoCounter(); | 127 virtual PromoCounter* GetInstantPromoCounter(); |
| 128 virtual BrowserSignin* GetBrowserSignin(); | 128 virtual BrowserSignin* GetBrowserSignin(); |
| 129 virtual policy::ProfilePolicyContext* GetPolicyContext(); | 129 virtual policy::ProfilePolicyContext* GetPolicyContext(); |
| 130 | 130 |
| 131 #if defined(OS_CHROMEOS) | 131 #if defined(OS_CHROMEOS) |
| 132 virtual void ChangeApplicationLocale( |
| 133 const std::string& locale, bool keep_local); |
| 132 virtual chromeos::ProxyConfigServiceImpl* GetChromeOSProxyConfigServiceImpl(); | 134 virtual chromeos::ProxyConfigServiceImpl* GetChromeOSProxyConfigServiceImpl(); |
| 133 virtual void SetupChromeOSEnterpriseExtensionObserver(); | 135 virtual void SetupChromeOSEnterpriseExtensionObserver(); |
| 134 #endif // defined(OS_CHROMEOS) | 136 #endif // defined(OS_CHROMEOS) |
| 135 | 137 |
| 136 virtual PrefProxyConfigTracker* GetProxyConfigTracker(); | 138 virtual PrefProxyConfigTracker* GetProxyConfigTracker(); |
| 137 virtual PrerenderManager* GetPrerenderManager(); | 139 virtual PrerenderManager* GetPrerenderManager(); |
| 138 | 140 |
| 139 // NotificationObserver implementation. | 141 // NotificationObserver implementation. |
| 140 virtual void Observe(NotificationType type, | 142 virtual void Observe(NotificationType type, |
| 141 const NotificationSource& source, | 143 const NotificationSource& source, |
| (...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 297 #endif | 299 #endif |
| 298 | 300 |
| 299 scoped_refptr<PrefProxyConfigTracker> pref_proxy_config_tracker_; | 301 scoped_refptr<PrefProxyConfigTracker> pref_proxy_config_tracker_; |
| 300 | 302 |
| 301 scoped_refptr<PrerenderManager> prerender_manager_; | 303 scoped_refptr<PrerenderManager> prerender_manager_; |
| 302 | 304 |
| 303 DISALLOW_COPY_AND_ASSIGN(ProfileImpl); | 305 DISALLOW_COPY_AND_ASSIGN(ProfileImpl); |
| 304 }; | 306 }; |
| 305 | 307 |
| 306 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ | 308 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ |
| OLD | NEW |