Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(579)

Side by Side Diff: content/test/test_browser_context.h

Issue 7989001: Remove use of default request context and fix use of speech censor flag (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: " Created 9 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698