OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_TEST_BASE_TESTING_PROFILE_H_ | 5 #ifndef CHROME_TEST_BASE_TESTING_PROFILE_H_ |
6 #define CHROME_TEST_BASE_TESTING_PROFILE_H_ | 6 #define CHROME_TEST_BASE_TESTING_PROFILE_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <string> | 9 #include <string> |
10 | 10 |
(...skipping 204 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
215 // Clears out the created request context (which must be done before shutting | 215 // Clears out the created request context (which must be done before shutting |
216 // down the IO thread to avoid leaks). | 216 // down the IO thread to avoid leaks). |
217 void ResetRequestContext(); | 217 void ResetRequestContext(); |
218 | 218 |
219 virtual net::URLRequestContextGetter* GetRequestContextForMedia() OVERRIDE; | 219 virtual net::URLRequestContextGetter* GetRequestContextForMedia() OVERRIDE; |
220 virtual net::URLRequestContextGetter* | 220 virtual net::URLRequestContextGetter* |
221 GetRequestContextForExtensions() OVERRIDE; | 221 GetRequestContextForExtensions() OVERRIDE; |
222 virtual net::URLRequestContextGetter* GetRequestContextForIsolatedApp( | 222 virtual net::URLRequestContextGetter* GetRequestContextForIsolatedApp( |
223 const std::string& app_id) OVERRIDE; | 223 const std::string& app_id) OVERRIDE; |
224 | 224 |
225 virtual const content::ResourceContext& GetResourceContext() OVERRIDE; | 225 virtual content::ResourceContext* GetResourceContext() OVERRIDE; |
226 | 226 |
227 virtual net::SSLConfigService* GetSSLConfigService() OVERRIDE; | 227 virtual net::SSLConfigService* GetSSLConfigService() OVERRIDE; |
228 virtual UserStyleSheetWatcher* GetUserStyleSheetWatcher() OVERRIDE; | 228 virtual UserStyleSheetWatcher* GetUserStyleSheetWatcher() OVERRIDE; |
229 virtual HostContentSettingsMap* GetHostContentSettingsMap() OVERRIDE; | 229 virtual HostContentSettingsMap* GetHostContentSettingsMap() OVERRIDE; |
230 virtual content::GeolocationPermissionContext* | 230 virtual content::GeolocationPermissionContext* |
231 GetGeolocationPermissionContext() OVERRIDE; | 231 GetGeolocationPermissionContext() OVERRIDE; |
232 virtual SpeechInputPreferences* GetSpeechInputPreferences() OVERRIDE; | 232 virtual SpeechInputPreferences* GetSpeechInputPreferences() OVERRIDE; |
233 virtual content::HostZoomMap* GetHostZoomMap() OVERRIDE; | 233 virtual content::HostZoomMap* GetHostZoomMap() OVERRIDE; |
234 virtual std::wstring GetName(); | 234 virtual std::wstring GetName(); |
235 virtual void SetName(const std::wstring& name) {} | 235 virtual void SetName(const std::wstring& name) {} |
(...skipping 174 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
410 scoped_refptr<ChromeAppCacheService> appcache_service_; | 410 scoped_refptr<ChromeAppCacheService> appcache_service_; |
411 | 411 |
412 // The QuotaManager, only available if set explicitly via SetQuotaManager. | 412 // The QuotaManager, only available if set explicitly via SetQuotaManager. |
413 scoped_refptr<quota::QuotaManager> quota_manager_; | 413 scoped_refptr<quota::QuotaManager> quota_manager_; |
414 | 414 |
415 // Weak pointer to a delegate for indicating that a profile was created. | 415 // Weak pointer to a delegate for indicating that a profile was created. |
416 Delegate* delegate_; | 416 Delegate* delegate_; |
417 }; | 417 }; |
418 | 418 |
419 #endif // CHROME_TEST_BASE_TESTING_PROFILE_H_ | 419 #endif // CHROME_TEST_BASE_TESTING_PROFILE_H_ |
OLD | NEW |