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 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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(); | 138 virtual chromeos::ProxyConfigServiceImpl* GetChromeOSProxyConfigServiceImpl(); |
139 virtual void SetupChromeOSEnterpriseExtensionObserver(); | 139 virtual void SetupChromeOSEnterpriseExtensionObserver(); |
| 140 virtual void InitChromeOSPreferences(); |
140 #endif // defined(OS_CHROMEOS) | 141 #endif // defined(OS_CHROMEOS) |
141 | 142 |
142 virtual PrefProxyConfigTracker* GetProxyConfigTracker(); | 143 virtual PrefProxyConfigTracker* GetProxyConfigTracker(); |
143 virtual PrerenderManager* GetPrerenderManager(); | 144 virtual PrerenderManager* GetPrerenderManager(); |
144 | 145 |
145 // NotificationObserver implementation. | 146 // NotificationObserver implementation. |
146 virtual void Observe(NotificationType type, | 147 virtual void Observe(NotificationType type, |
147 const NotificationSource& source, | 148 const NotificationSource& source, |
148 const NotificationDetails& details); | 149 const NotificationDetails& details); |
149 | 150 |
(...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
306 scoped_refptr<PrefProxyConfigTracker> pref_proxy_config_tracker_; | 307 scoped_refptr<PrefProxyConfigTracker> pref_proxy_config_tracker_; |
307 | 308 |
308 scoped_refptr<PrerenderManager> prerender_manager_; | 309 scoped_refptr<PrerenderManager> prerender_manager_; |
309 | 310 |
310 scoped_ptr<ChromeURLDataManager> chrome_url_data_manager_; | 311 scoped_ptr<ChromeURLDataManager> chrome_url_data_manager_; |
311 | 312 |
312 DISALLOW_COPY_AND_ASSIGN(ProfileImpl); | 313 DISALLOW_COPY_AND_ASSIGN(ProfileImpl); |
313 }; | 314 }; |
314 | 315 |
315 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ | 316 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ |
OLD | NEW |