| OLD | NEW |
| (Empty) | |
| 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 |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef CONTENT_TEST_TEST_BROWSER_CONTEXT_H_ |
| 6 #define CONTENT_TEST_TEST_BROWSER_CONTEXT_H_ |
| 7 #pragma once |
| 8 |
| 9 #include "base/compiler_specific.h" |
| 10 #include "content/browser/browser_context.h" |
| 11 |
| 12 class TestBrowserContext : public content::BrowserContext { |
| 13 public: |
| 14 TestBrowserContext(); |
| 15 virtual ~TestBrowserContext(); |
| 16 |
| 17 virtual FilePath GetPath() OVERRIDE; |
| 18 virtual bool IsOffTheRecord() OVERRIDE; |
| 19 virtual webkit_database::DatabaseTracker* GetDatabaseTracker() OVERRIDE; |
| 20 virtual SSLHostState* GetSSLHostState() OVERRIDE; |
| 21 virtual DownloadManager* GetDownloadManager() OVERRIDE; |
| 22 virtual bool HasCreatedDownloadManager() const OVERRIDE; |
| 23 virtual quota::QuotaManager* GetQuotaManager() OVERRIDE; |
| 24 virtual net::URLRequestContextGetter* GetRequestContext() OVERRIDE; |
| 25 virtual net::URLRequestContextGetter* GetRequestContextForRenderProcess( |
| 26 int renderer_child_id) OVERRIDE; |
| 27 virtual net::URLRequestContextGetter* GetRequestContextForMedia() OVERRIDE; |
| 28 virtual const content::ResourceContext& GetResourceContext() OVERRIDE; |
| 29 virtual HostZoomMap* GetHostZoomMap() OVERRIDE; |
| 30 virtual GeolocationPermissionContext* GetGeolocationPermissionContext() |
| 31 OVERRIDE; |
| 32 virtual bool DidLastSessionExitCleanly() OVERRIDE; |
| 33 virtual WebKitContext* GetWebKitContext() OVERRIDE; |
| 34 virtual ChromeBlobStorageContext* GetBlobStorageContext() OVERRIDE; |
| 35 |
| 36 private: |
| 37 DISALLOW_COPY_AND_ASSIGN(TestBrowserContext); |
| 38 }; |
| 39 |
| 40 #endif // CONTENT_TEST_TEST_BROWSER_CONTEXT_H_ |
| OLD | NEW |