Home
last modified time | relevance | path

Searched refs:MockResourceContext (Results 1 – 11 of 11) sorted by relevance

/external/chromium_org/content/public/test/
Dmock_resource_context.cc11 MockResourceContext::MockResourceContext() in MockResourceContext() function in content::MockResourceContext
15 MockResourceContext::MockResourceContext( in MockResourceContext() function in content::MockResourceContext
22 MockResourceContext::~MockResourceContext() {} in ~MockResourceContext()
24 net::HostResolver* MockResourceContext::GetHostResolver() { in GetHostResolver()
28 net::URLRequestContext* MockResourceContext::GetRequestContext() { in GetRequestContext()
33 bool MockResourceContext::AllowMicAccess(const GURL& origin) { in AllowMicAccess()
37 bool MockResourceContext::AllowCameraAccess(const GURL& origin) { in AllowCameraAccess()
Dmock_resource_context.h19 class MockResourceContext : public ResourceContext {
21 MockResourceContext();
24 explicit MockResourceContext(net::URLRequestContext* test_request_context);
26 virtual ~MockResourceContext();
50 DISALLOW_COPY_AND_ASSIGN(MockResourceContext);
Dtest_browser_context.h17 class MockResourceContext; variable
64 scoped_ptr<MockResourceContext> resource_context_;
Dtest_browser_context.cc120 resource_context_.reset(new MockResourceContext( in GetResourceContext()
/external/chromium_org/content/browser/renderer_host/media/
Ddevice_request_message_filter_unittest.cc55 MockDeviceRequestMessageFilter(MockResourceContext* context, in MockDeviceRequestMessageFilter()
146 resource_context_.reset(new MockResourceContext(NULL)); in SetUp()
153 scoped_ptr<MockResourceContext> resource_context_;
/external/chromium_org/content/browser/loader/
Dresource_loader_unittest.cc148 class ResourceContextStub : public MockResourceContext {
151 : MockResourceContext(test_request_context) {} in ResourceContextStub()
/external/chromium_org/chrome/test/base/
Dtesting_profile.h17 class MockResourceContext; variable
408 content::MockResourceContext* resource_context_;
Dtesting_profile.cc765 resource_context_ = new content::MockResourceContext(); in GetResourceContext()
/external/chromium_org/chrome/browser/search/
Diframe_source_unittest.cc150 content::MockResourceContext resource_context_;
/external/chromium_org/chrome/browser/extensions/
Dextension_protocols_unittest.cc137 content::MockResourceContext resource_context_;
/external/chromium_org/components/navigation_interception/
Dintercept_navigation_resource_throttle_unittest.cc174 content::MockResourceContext resource_context_;