| 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 virtual PrefProxyConfigTracker* GetProxyConfigTracker() OVERRIDE; | 127 virtual PrefProxyConfigTrackerType* GetProxyConfigTracker() OVERRIDE; |
| 128 |
| 128 virtual chrome_browser_net::Predictor* GetNetworkPredictor() OVERRIDE; | 129 virtual chrome_browser_net::Predictor* GetNetworkPredictor() OVERRIDE; |
| 129 virtual void ClearNetworkingHistorySince(base::Time time) OVERRIDE; | 130 virtual void ClearNetworkingHistorySince(base::Time time) OVERRIDE; |
| 130 | 131 |
| 131 // content::NotificationObserver implementation. | 132 // content::NotificationObserver implementation. |
| 132 virtual void Observe(int type, | 133 virtual void Observe(int type, |
| 133 const content::NotificationSource& source, | 134 const content::NotificationSource& source, |
| 134 const content::NotificationDetails& details) OVERRIDE; | 135 const content::NotificationDetails& details) OVERRIDE; |
| 135 | 136 |
| 136 private: | 137 private: |
| 137 void CreateQuotaManagerAndClients(); | 138 void CreateQuotaManagerAndClients(); |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 175 // Should be used only on the file thread. | 176 // Should be used only on the file thread. |
| 176 scoped_refptr<webkit_database::DatabaseTracker> db_tracker_; | 177 scoped_refptr<webkit_database::DatabaseTracker> db_tracker_; |
| 177 | 178 |
| 178 FilePath last_selected_directory_; | 179 FilePath last_selected_directory_; |
| 179 | 180 |
| 180 scoped_refptr<ChromeBlobStorageContext> blob_storage_context_; | 181 scoped_refptr<ChromeBlobStorageContext> blob_storage_context_; |
| 181 | 182 |
| 182 // The file_system context for this profile. | 183 // The file_system context for this profile. |
| 183 scoped_refptr<fileapi::FileSystemContext> file_system_context_; | 184 scoped_refptr<fileapi::FileSystemContext> file_system_context_; |
| 184 | 185 |
| 185 scoped_refptr<PrefProxyConfigTracker> pref_proxy_config_tracker_; | 186 scoped_ptr<PrefProxyConfigTrackerType> pref_proxy_config_tracker_; |
| 186 | 187 |
| 187 scoped_ptr<ChromeURLDataManager> chrome_url_data_manager_; | 188 scoped_ptr<ChromeURLDataManager> chrome_url_data_manager_; |
| 188 | 189 |
| 189 scoped_refptr<quota::QuotaManager> quota_manager_; | 190 scoped_refptr<quota::QuotaManager> quota_manager_; |
| 190 | 191 |
| 191 DISALLOW_COPY_AND_ASSIGN(OffTheRecordProfileImpl); | 192 DISALLOW_COPY_AND_ASSIGN(OffTheRecordProfileImpl); |
| 192 }; | 193 }; |
| 193 | 194 |
| 194 #endif // CHROME_BROWSER_PROFILES_OFF_THE_RECORD_PROFILE_IMPL_H_ | 195 #endif // CHROME_BROWSER_PROFILES_OFF_THE_RECORD_PROFILE_IMPL_H_ |
| OLD | NEW |