OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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_PROFILE_IMPL_H_ | 7 #ifndef CHROME_BROWSER_PROFILE_IMPL_H_ |
8 #define CHROME_BROWSER_PROFILE_IMPL_H_ | 8 #define CHROME_BROWSER_PROFILE_IMPL_H_ |
9 #pragma once | 9 #pragma once |
10 | 10 |
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
97 virtual void InitExtensions(); | 97 virtual void InitExtensions(); |
98 virtual NTPResourceCache* GetNTPResourceCache(); | 98 virtual NTPResourceCache* GetNTPResourceCache(); |
99 virtual FilePath last_selected_directory(); | 99 virtual FilePath last_selected_directory(); |
100 virtual void set_last_selected_directory(const FilePath& path); | 100 virtual void set_last_selected_directory(const FilePath& path); |
101 virtual ProfileSyncService* GetProfileSyncService(); | 101 virtual ProfileSyncService* GetProfileSyncService(); |
102 virtual TokenService* GetTokenService(); | 102 virtual TokenService* GetTokenService(); |
103 void InitSyncService(); | 103 void InitSyncService(); |
104 virtual CloudPrintProxyService* GetCloudPrintProxyService(); | 104 virtual CloudPrintProxyService* GetCloudPrintProxyService(); |
105 void InitCloudPrintProxyService(); | 105 void InitCloudPrintProxyService(); |
106 | 106 |
| 107 #if defined(OS_CHROMEOS) |
| 108 virtual chromeos::ProxyConfigServiceImpl* GetChromeOSProxyConfigServiceImpl(); |
| 109 #endif // defined(OS_CHROMEOS) |
| 110 |
107 // NotificationObserver implementation. | 111 // NotificationObserver implementation. |
108 virtual void Observe(NotificationType type, | 112 virtual void Observe(NotificationType type, |
109 const NotificationSource& source, | 113 const NotificationSource& source, |
110 const NotificationDetails& details); | 114 const NotificationDetails& details); |
111 | 115 |
112 // SpellCheckHostObserver implementation. | 116 // SpellCheckHostObserver implementation. |
113 virtual void SpellCheckHostInitialized(); | 117 virtual void SpellCheckHostInitialized(); |
114 | 118 |
115 private: | 119 private: |
116 friend class Profile; | 120 friend class Profile; |
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
224 scoped_refptr<ChromeAppCacheService> appcache_service_; | 228 scoped_refptr<ChromeAppCacheService> appcache_service_; |
225 | 229 |
226 // The main database tracker for this profile. | 230 // The main database tracker for this profile. |
227 // Should be used only on the file thread. | 231 // Should be used only on the file thread. |
228 scoped_refptr<webkit_database::DatabaseTracker> db_tracker_; | 232 scoped_refptr<webkit_database::DatabaseTracker> db_tracker_; |
229 | 233 |
230 scoped_refptr<history::TopSites> top_sites_; // For history and thumbnails. | 234 scoped_refptr<history::TopSites> top_sites_; // For history and thumbnails. |
231 | 235 |
232 #if defined(OS_CHROMEOS) | 236 #if defined(OS_CHROMEOS) |
233 chromeos::Preferences chromeos_preferences_; | 237 chromeos::Preferences chromeos_preferences_; |
| 238 |
| 239 scoped_refptr<chromeos::ProxyConfigServiceImpl> |
| 240 chromeos_proxy_config_service_impl_; |
234 #endif | 241 #endif |
235 | 242 |
236 DISALLOW_COPY_AND_ASSIGN(ProfileImpl); | 243 DISALLOW_COPY_AND_ASSIGN(ProfileImpl); |
237 }; | 244 }; |
238 | 245 |
239 #endif // CHROME_BROWSER_PROFILE_IMPL_H_ | 246 #endif // CHROME_BROWSER_PROFILE_IMPL_H_ |
OLD | NEW |