Searched refs:MockResourceContext (Results 1 – 11 of 11) sorted by relevance
11 MockResourceContext::MockResourceContext() in MockResourceContext() function in content::MockResourceContext15 MockResourceContext::MockResourceContext( in MockResourceContext() function in content::MockResourceContext22 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()
19 class MockResourceContext : public ResourceContext {21 MockResourceContext();24 explicit MockResourceContext(net::URLRequestContext* test_request_context);26 virtual ~MockResourceContext();50 DISALLOW_COPY_AND_ASSIGN(MockResourceContext);
17 class MockResourceContext; variable64 scoped_ptr<MockResourceContext> resource_context_;
120 resource_context_.reset(new MockResourceContext( in GetResourceContext()
55 MockDeviceRequestMessageFilter(MockResourceContext* context, in MockDeviceRequestMessageFilter()146 resource_context_.reset(new MockResourceContext(NULL)); in SetUp()153 scoped_ptr<MockResourceContext> resource_context_;
148 class ResourceContextStub : public MockResourceContext {151 : MockResourceContext(test_request_context) {} in ResourceContextStub()
17 class MockResourceContext; variable408 content::MockResourceContext* resource_context_;
765 resource_context_ = new content::MockResourceContext(); in GetResourceContext()
150 content::MockResourceContext resource_context_;
137 content::MockResourceContext resource_context_;
174 content::MockResourceContext resource_context_;