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

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

Issue 9369009: Make content::ResourceContext be a real interface like the rest of the Content API (i.e. don't ha... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: sync Created 8 years, 10 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
« no previous file with comments | « content/test/test_browser_context.h ('k') | content/test/webrtc_audio_device_test.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #include "content/test/test_browser_context.h" 5 #include "content/test/test_browser_context.h"
6 6
7 #include "base/file_path.h" 7 #include "base/file_path.h"
8 #include "content/browser/in_process_webkit/webkit_context.h" 8 #include "content/browser/in_process_webkit/webkit_context.h"
9 #include "content/browser/mock_resource_context.h" 9 #include "content/browser/mock_resource_context.h"
10 #include "testing/gtest/include/gtest/gtest.h" 10 #include "testing/gtest/include/gtest/gtest.h"
(...skipping 30 matching lines...) Expand all
41 41
42 net::URLRequestContextGetter* 42 net::URLRequestContextGetter*
43 TestBrowserContext::GetRequestContextForRenderProcess(int renderer_child_id) { 43 TestBrowserContext::GetRequestContextForRenderProcess(int renderer_child_id) {
44 return NULL; 44 return NULL;
45 } 45 }
46 46
47 net::URLRequestContextGetter* TestBrowserContext::GetRequestContextForMedia() { 47 net::URLRequestContextGetter* TestBrowserContext::GetRequestContextForMedia() {
48 return NULL; 48 return NULL;
49 } 49 }
50 50
51 const content::ResourceContext& TestBrowserContext::GetResourceContext() { 51 content::ResourceContext* TestBrowserContext::GetResourceContext() {
52 // TODO(phajdan.jr): Get rid of this nasty global. 52 // TODO(phajdan.jr): Get rid of this nasty global.
53 return *content::MockResourceContext::GetInstance(); 53 return content::MockResourceContext::GetInstance();
54 } 54 }
55 55
56 HostZoomMap* TestBrowserContext::GetHostZoomMap() { 56 HostZoomMap* TestBrowserContext::GetHostZoomMap() {
57 return NULL; 57 return NULL;
58 } 58 }
59 59
60 content::GeolocationPermissionContext* 60 content::GeolocationPermissionContext*
61 TestBrowserContext::GetGeolocationPermissionContext() { 61 TestBrowserContext::GetGeolocationPermissionContext() {
62 return NULL; 62 return NULL;
63 } 63 }
(...skipping 27 matching lines...) Expand all
91 return NULL; 91 return NULL;
92 } 92 }
93 93
94 ChromeAppCacheService* TestBrowserContext::GetAppCacheService() { 94 ChromeAppCacheService* TestBrowserContext::GetAppCacheService() {
95 return NULL; 95 return NULL;
96 } 96 }
97 97
98 fileapi::FileSystemContext* TestBrowserContext::GetFileSystemContext() { 98 fileapi::FileSystemContext* TestBrowserContext::GetFileSystemContext() {
99 return NULL; 99 return NULL;
100 } 100 }
OLDNEW
« no previous file with comments | « content/test/test_browser_context.h ('k') | content/test/webrtc_audio_device_test.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698