| 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 #ifndef CHROME_BROWSER_PROFILES_OFF_THE_RECORD_PROFILE_IMPL_H_ | 5 #ifndef CHROME_BROWSER_PROFILES_OFF_THE_RECORD_PROFILE_IMPL_H_ |
| 6 #define CHROME_BROWSER_PROFILES_OFF_THE_RECORD_PROFILE_IMPL_H_ | 6 #define CHROME_BROWSER_PROFILES_OFF_THE_RECORD_PROFILE_IMPL_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| (...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 117 virtual ExtensionInfoMap* GetExtensionInfoMap() OVERRIDE; | 117 virtual ExtensionInfoMap* GetExtensionInfoMap() OVERRIDE; |
| 118 virtual ChromeURLDataManager* GetChromeURLDataManager() OVERRIDE; | 118 virtual ChromeURLDataManager* GetChromeURLDataManager() OVERRIDE; |
| 119 virtual PromoCounter* GetInstantPromoCounter() OVERRIDE; | 119 virtual PromoCounter* GetInstantPromoCounter() OVERRIDE; |
| 120 | 120 |
| 121 #if defined(OS_CHROMEOS) | 121 #if defined(OS_CHROMEOS) |
| 122 virtual void ChangeAppLocale(const std::string& locale, | 122 virtual void ChangeAppLocale(const std::string& locale, |
| 123 AppLocaleChangedVia) OVERRIDE; | 123 AppLocaleChangedVia) OVERRIDE; |
| 124 virtual void OnLogin() OVERRIDE; | 124 virtual void OnLogin() OVERRIDE; |
| 125 #endif // defined(OS_CHROMEOS) | 125 #endif // defined(OS_CHROMEOS) |
| 126 | 126 |
| 127 #if defined(OS_CHROMEOS) |
| 128 virtual chromeos::ProxyConfigServiceImpl* GetProxyConfigTracker() OVERRIDE; |
| 129 #else |
| 127 virtual PrefProxyConfigTracker* GetProxyConfigTracker() OVERRIDE; | 130 virtual PrefProxyConfigTracker* GetProxyConfigTracker() OVERRIDE; |
| 131 #endif // defined(OS_CHROMEOS) |
| 132 |
| 128 virtual chrome_browser_net::Predictor* GetNetworkPredictor() OVERRIDE; | 133 virtual chrome_browser_net::Predictor* GetNetworkPredictor() OVERRIDE; |
| 129 virtual void ClearNetworkingHistorySince(base::Time time) OVERRIDE; | 134 virtual void ClearNetworkingHistorySince(base::Time time) OVERRIDE; |
| 130 | 135 |
| 131 // NotificationObserver implementation. | 136 // NotificationObserver implementation. |
| 132 virtual void Observe(int type, | 137 virtual void Observe(int type, |
| 133 const NotificationSource& source, | 138 const NotificationSource& source, |
| 134 const NotificationDetails& details) OVERRIDE; | 139 const NotificationDetails& details) OVERRIDE; |
| 135 | 140 |
| 136 private: | 141 private: |
| 137 void CreateQuotaManagerAndClients(); | 142 void CreateQuotaManagerAndClients(); |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 175 // Should be used only on the file thread. | 180 // Should be used only on the file thread. |
| 176 scoped_refptr<webkit_database::DatabaseTracker> db_tracker_; | 181 scoped_refptr<webkit_database::DatabaseTracker> db_tracker_; |
| 177 | 182 |
| 178 FilePath last_selected_directory_; | 183 FilePath last_selected_directory_; |
| 179 | 184 |
| 180 scoped_refptr<ChromeBlobStorageContext> blob_storage_context_; | 185 scoped_refptr<ChromeBlobStorageContext> blob_storage_context_; |
| 181 | 186 |
| 182 // The file_system context for this profile. | 187 // The file_system context for this profile. |
| 183 scoped_refptr<fileapi::FileSystemContext> file_system_context_; | 188 scoped_refptr<fileapi::FileSystemContext> file_system_context_; |
| 184 | 189 |
| 185 scoped_refptr<PrefProxyConfigTracker> pref_proxy_config_tracker_; | 190 #if defined(OS_CHROMEOS) |
| 191 scoped_ptr<chromeos::ProxyConfigServiceImpl> pref_proxy_config_tracker_; |
| 192 #else |
| 193 scoped_ptr<PrefProxyConfigTracker> pref_proxy_config_tracker_; |
| 194 #endif // defined(OS_CHROMEOS) |
| 186 | 195 |
| 187 scoped_ptr<ChromeURLDataManager> chrome_url_data_manager_; | 196 scoped_ptr<ChromeURLDataManager> chrome_url_data_manager_; |
| 188 | 197 |
| 189 scoped_refptr<quota::QuotaManager> quota_manager_; | 198 scoped_refptr<quota::QuotaManager> quota_manager_; |
| 190 | 199 |
| 191 DISALLOW_COPY_AND_ASSIGN(OffTheRecordProfileImpl); | 200 DISALLOW_COPY_AND_ASSIGN(OffTheRecordProfileImpl); |
| 192 }; | 201 }; |
| 193 | 202 |
| 194 #endif // CHROME_BROWSER_PROFILES_OFF_THE_RECORD_PROFILE_IMPL_H_ | 203 #endif // CHROME_BROWSER_PROFILES_OFF_THE_RECORD_PROFILE_IMPL_H_ |
| OLD | NEW |