| 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 CONTENT_TEST_TEST_BROWSER_CONTEXT_H_ | 5 #ifndef CONTENT_TEST_TEST_BROWSER_CONTEXT_H_ |
| 6 #define CONTENT_TEST_TEST_BROWSER_CONTEXT_H_ | 6 #define CONTENT_TEST_TEST_BROWSER_CONTEXT_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include "base/compiler_specific.h" | 9 #include "base/compiler_specific.h" |
| 10 #include "base/memory/ref_counted.h" | 10 #include "base/memory/ref_counted.h" |
| (...skipping 12 matching lines...) Expand all Loading... |
| 23 virtual DownloadManager* GetDownloadManager() OVERRIDE; | 23 virtual DownloadManager* GetDownloadManager() OVERRIDE; |
| 24 virtual bool HasCreatedDownloadManager() const OVERRIDE; | 24 virtual bool HasCreatedDownloadManager() const OVERRIDE; |
| 25 virtual net::URLRequestContextGetter* GetRequestContext() OVERRIDE; | 25 virtual net::URLRequestContextGetter* GetRequestContext() OVERRIDE; |
| 26 virtual net::URLRequestContextGetter* GetRequestContextForRenderProcess( | 26 virtual net::URLRequestContextGetter* GetRequestContextForRenderProcess( |
| 27 int renderer_child_id) OVERRIDE; | 27 int renderer_child_id) OVERRIDE; |
| 28 virtual net::URLRequestContextGetter* GetRequestContextForMedia() OVERRIDE; | 28 virtual net::URLRequestContextGetter* GetRequestContextForMedia() OVERRIDE; |
| 29 virtual const content::ResourceContext& GetResourceContext() OVERRIDE; | 29 virtual const content::ResourceContext& GetResourceContext() OVERRIDE; |
| 30 virtual HostZoomMap* GetHostZoomMap() OVERRIDE; | 30 virtual HostZoomMap* GetHostZoomMap() OVERRIDE; |
| 31 virtual GeolocationPermissionContext* GetGeolocationPermissionContext() | 31 virtual GeolocationPermissionContext* GetGeolocationPermissionContext() |
| 32 OVERRIDE; | 32 OVERRIDE; |
| 33 virtual SpeechInputPreferences* GetSpeechInputPreferences() OVERRIDE; |
| 33 virtual bool DidLastSessionExitCleanly() OVERRIDE; | 34 virtual bool DidLastSessionExitCleanly() OVERRIDE; |
| 34 virtual quota::QuotaManager* GetQuotaManager() OVERRIDE; | 35 virtual quota::QuotaManager* GetQuotaManager() OVERRIDE; |
| 35 virtual WebKitContext* GetWebKitContext() OVERRIDE; | 36 virtual WebKitContext* GetWebKitContext() OVERRIDE; |
| 36 virtual webkit_database::DatabaseTracker* GetDatabaseTracker() OVERRIDE; | 37 virtual webkit_database::DatabaseTracker* GetDatabaseTracker() OVERRIDE; |
| 37 virtual ChromeBlobStorageContext* GetBlobStorageContext() OVERRIDE; | 38 virtual ChromeBlobStorageContext* GetBlobStorageContext() OVERRIDE; |
| 38 virtual ChromeAppCacheService* GetAppCacheService() OVERRIDE; | 39 virtual ChromeAppCacheService* GetAppCacheService() OVERRIDE; |
| 39 virtual fileapi::FileSystemContext* GetFileSystemContext() OVERRIDE; | 40 virtual fileapi::FileSystemContext* GetFileSystemContext() OVERRIDE; |
| 40 | 41 |
| 41 private: | 42 private: |
| 42 // WebKitContext, lazily initialized by GetWebKitContext(). | 43 // WebKitContext, lazily initialized by GetWebKitContext(). |
| 43 scoped_refptr<WebKitContext> webkit_context_; | 44 scoped_refptr<WebKitContext> webkit_context_; |
| 44 | 45 |
| 45 DISALLOW_COPY_AND_ASSIGN(TestBrowserContext); | 46 DISALLOW_COPY_AND_ASSIGN(TestBrowserContext); |
| 46 }; | 47 }; |
| 47 | 48 |
| 48 #endif // CONTENT_TEST_TEST_BROWSER_CONTEXT_H_ | 49 #endif // CONTENT_TEST_TEST_BROWSER_CONTEXT_H_ |
| OLD | NEW |