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_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 200 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
211 // down the IO thread to avoid leaks). | 211 // down the IO thread to avoid leaks). |
212 void ResetRequestContext(); | 212 void ResetRequestContext(); |
213 | 213 |
214 virtual net::URLRequestContextGetter* GetRequestContextForMedia(); | 214 virtual net::URLRequestContextGetter* GetRequestContextForMedia(); |
215 virtual net::URLRequestContextGetter* GetRequestContextForExtensions(); | 215 virtual net::URLRequestContextGetter* GetRequestContextForExtensions(); |
216 virtual net::URLRequestContextGetter* GetRequestContextForIsolatedApp( | 216 virtual net::URLRequestContextGetter* GetRequestContextForIsolatedApp( |
217 const std::string& app_id); | 217 const std::string& app_id); |
218 | 218 |
219 virtual const content::ResourceContext& GetResourceContext(); | 219 virtual const content::ResourceContext& GetResourceContext(); |
220 | 220 |
| 221 virtual net::SpdyConfigService* GetSpdyConfigService(); |
221 virtual net::SSLConfigService* GetSSLConfigService(); | 222 virtual net::SSLConfigService* GetSSLConfigService(); |
222 virtual UserStyleSheetWatcher* GetUserStyleSheetWatcher(); | 223 virtual UserStyleSheetWatcher* GetUserStyleSheetWatcher(); |
223 virtual FindBarState* GetFindBarState(); | 224 virtual FindBarState* GetFindBarState(); |
224 virtual HostContentSettingsMap* GetHostContentSettingsMap(); | 225 virtual HostContentSettingsMap* GetHostContentSettingsMap(); |
225 virtual GeolocationPermissionContext* GetGeolocationPermissionContext(); | 226 virtual GeolocationPermissionContext* GetGeolocationPermissionContext(); |
226 virtual HostZoomMap* GetHostZoomMap(); | 227 virtual HostZoomMap* GetHostZoomMap(); |
227 virtual bool HasProfileSyncService() const; | 228 virtual bool HasProfileSyncService() const; |
228 virtual std::wstring GetName(); | 229 virtual std::wstring GetName(); |
229 virtual void SetName(const std::wstring& name) {} | 230 virtual void SetName(const std::wstring& name) {} |
230 virtual std::wstring GetID(); | 231 virtual std::wstring GetID(); |
(...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
404 // testing. | 405 // testing. |
405 ProfileDependencyManager* profile_dependency_manager_; | 406 ProfileDependencyManager* profile_dependency_manager_; |
406 | 407 |
407 scoped_refptr<ChromeAppCacheService> appcache_service_; | 408 scoped_refptr<ChromeAppCacheService> appcache_service_; |
408 | 409 |
409 // The QuotaManager, only available if set explicitly via SetQuotaManager. | 410 // The QuotaManager, only available if set explicitly via SetQuotaManager. |
410 scoped_refptr<quota::QuotaManager> quota_manager_; | 411 scoped_refptr<quota::QuotaManager> quota_manager_; |
411 }; | 412 }; |
412 | 413 |
413 #endif // CHROME_TEST_BASE_TESTING_PROFILE_H_ | 414 #endif // CHROME_TEST_BASE_TESTING_PROFILE_H_ |
OLD | NEW |