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 121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
132 virtual void ChangeAppLocale(const std::string& locale, AppLocaleChangedVia); | 132 virtual void ChangeAppLocale(const std::string& locale, AppLocaleChangedVia); |
133 virtual void OnLogin(); | 133 virtual void OnLogin(); |
134 virtual void SetupChromeOSEnterpriseExtensionObserver(); | 134 virtual void SetupChromeOSEnterpriseExtensionObserver(); |
135 virtual void InitChromeOSPreferences(); | 135 virtual void InitChromeOSPreferences(); |
136 #endif // defined(OS_CHROMEOS) | 136 #endif // defined(OS_CHROMEOS) |
137 | 137 |
138 virtual PrefProxyConfigTracker* GetProxyConfigTracker(); | 138 virtual PrefProxyConfigTracker* GetProxyConfigTracker(); |
139 virtual prerender::PrerenderManager* GetPrerenderManager(); | 139 virtual prerender::PrerenderManager* GetPrerenderManager(); |
140 | 140 |
141 // NotificationObserver implementation. | 141 // NotificationObserver implementation. |
142 virtual void Observe(NotificationType type, | 142 virtual void Observe(int type, |
143 const NotificationSource& source, | 143 const NotificationSource& source, |
144 const NotificationDetails& details); | 144 const NotificationDetails& details); |
145 | 145 |
146 // SpellCheckHostObserver implementation. | 146 // SpellCheckHostObserver implementation. |
147 virtual void SpellCheckHostInitialized(); | 147 virtual void SpellCheckHostInitialized(); |
148 | 148 |
149 private: | 149 private: |
150 friend class Profile; | 150 friend class Profile; |
151 | 151 |
152 ProfileImpl(const FilePath& path, | 152 ProfileImpl(const FilePath& path, |
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
295 scoped_refptr<PrefProxyConfigTracker> pref_proxy_config_tracker_; | 295 scoped_refptr<PrefProxyConfigTracker> pref_proxy_config_tracker_; |
296 | 296 |
297 scoped_ptr<ChromeURLDataManager> chrome_url_data_manager_; | 297 scoped_ptr<ChromeURLDataManager> chrome_url_data_manager_; |
298 | 298 |
299 Profile::Delegate* delegate_; | 299 Profile::Delegate* delegate_; |
300 | 300 |
301 DISALLOW_COPY_AND_ASSIGN(ProfileImpl); | 301 DISALLOW_COPY_AND_ASSIGN(ProfileImpl); |
302 }; | 302 }; |
303 | 303 |
304 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ | 304 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ |
OLD | NEW |