| 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 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 96 virtual void MarkAsCleanShutdown(); | 96 virtual void MarkAsCleanShutdown(); |
| 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 virtual ChromeBlobStorageContext* GetBlobStorageContext(); |
| 106 | 107 |
| 107 #if defined(OS_CHROMEOS) | 108 #if defined(OS_CHROMEOS) |
| 108 virtual chromeos::ProxyConfigServiceImpl* GetChromeOSProxyConfigServiceImpl(); | 109 virtual chromeos::ProxyConfigServiceImpl* GetChromeOSProxyConfigServiceImpl(); |
| 109 #endif // defined(OS_CHROMEOS) | 110 #endif // defined(OS_CHROMEOS) |
| 110 | 111 |
| 111 // NotificationObserver implementation. | 112 // NotificationObserver implementation. |
| 112 virtual void Observe(NotificationType type, | 113 virtual void Observe(NotificationType type, |
| 113 const NotificationSource& source, | 114 const NotificationSource& source, |
| 114 const NotificationDetails& details); | 115 const NotificationDetails& details); |
| 115 | 116 |
| (...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 226 // The AppCacheService for this profile, shared by all requests contexts | 227 // The AppCacheService for this profile, shared by all requests contexts |
| 227 // associated with this profile. Should only be used on the IO thread. | 228 // associated with this profile. Should only be used on the IO thread. |
| 228 scoped_refptr<ChromeAppCacheService> appcache_service_; | 229 scoped_refptr<ChromeAppCacheService> appcache_service_; |
| 229 | 230 |
| 230 // The main database tracker for this profile. | 231 // The main database tracker for this profile. |
| 231 // Should be used only on the file thread. | 232 // Should be used only on the file thread. |
| 232 scoped_refptr<webkit_database::DatabaseTracker> db_tracker_; | 233 scoped_refptr<webkit_database::DatabaseTracker> db_tracker_; |
| 233 | 234 |
| 234 scoped_refptr<history::TopSites> top_sites_; // For history and thumbnails. | 235 scoped_refptr<history::TopSites> top_sites_; // For history and thumbnails. |
| 235 | 236 |
| 237 scoped_refptr<ChromeBlobStorageContext> blob_storage_context_; |
| 238 |
| 236 #if defined(OS_CHROMEOS) | 239 #if defined(OS_CHROMEOS) |
| 237 chromeos::Preferences chromeos_preferences_; | 240 chromeos::Preferences chromeos_preferences_; |
| 238 | 241 |
| 239 scoped_refptr<chromeos::ProxyConfigServiceImpl> | 242 scoped_refptr<chromeos::ProxyConfigServiceImpl> |
| 240 chromeos_proxy_config_service_impl_; | 243 chromeos_proxy_config_service_impl_; |
| 241 #endif | 244 #endif |
| 242 | 245 |
| 243 DISALLOW_COPY_AND_ASSIGN(ProfileImpl); | 246 DISALLOW_COPY_AND_ASSIGN(ProfileImpl); |
| 244 }; | 247 }; |
| 245 | 248 |
| 246 #endif // CHROME_BROWSER_PROFILE_IMPL_H_ | 249 #endif // CHROME_BROWSER_PROFILE_IMPL_H_ |
| OLD | NEW |