Home
last modified time | relevance | path

Searched refs:TestURLRequestContext (Results 1 – 25 of 59) sorted by relevance

123

/external/chromium/net/url_request/
Dview_cache_helper_unittest.cc19 class TestURLRequestContext : public URLRequestContext { class
21 TestURLRequestContext();
30 TestURLRequestContext::TestURLRequestContext() in TestURLRequestContext() function in net::__anon3211658e0111::TestURLRequestContext
103 scoped_refptr<TestURLRequestContext> context(new TestURLRequestContext()); in TEST()
114 scoped_refptr<TestURLRequestContext> context(new TestURLRequestContext()); in TEST()
136 scoped_refptr<TestURLRequestContext> context(new TestURLRequestContext()); in TEST()
161 scoped_refptr<TestURLRequestContext> context(new TestURLRequestContext()); in TEST()
180 scoped_refptr<TestURLRequestContext> context(new TestURLRequestContext()); in TEST()
Durl_request_test_util.cc39 TestURLRequestContext::TestURLRequestContext() in TestURLRequestContext() function in TestURLRequestContext
48 TestURLRequestContext::TestURLRequestContext(const std::string& proxy) in TestURLRequestContext() function in TestURLRequestContext
60 TestURLRequestContext::TestURLRequestContext(const std::string& proxy, in TestURLRequestContext() function in TestURLRequestContext
71 TestURLRequestContext::~TestURLRequestContext() {} in ~TestURLRequestContext()
73 void TestURLRequestContext::Init() { in Init()
100 set_context(new TestURLRequestContext()); in TestURLRequest()
Durl_request_test_util.h68 class TestURLRequestContext : public net::URLRequestContext {
70 TestURLRequestContext();
71 explicit TestURLRequestContext(const std::string& proxy);
72 TestURLRequestContext(const std::string& proxy,
76 virtual ~TestURLRequestContext();
Durl_request_unittest.cc193 scoped_refptr<URLRequestContext> context(new TestURLRequestContext()); in HTTPUploadDataOperationTest()
257 new TestURLRequestContext(test_server_.host_port_pair().ToString())); in TEST_F()
281 scoped_refptr<TestURLRequestContext> context( in TEST_F()
282 new TestURLRequestContext(test_server_.host_port_pair().ToString())); in TEST_F()
313 scoped_refptr<TestURLRequestContext> context( in TEST_F()
314 new TestURLRequestContext(test_server_.host_port_pair().ToString())); in TEST_F()
342 scoped_refptr<TestURLRequestContext> context( in TEST_F()
343 new TestURLRequestContext(test_server_.host_port_pair().ToString())); in TEST_F()
371 new TestURLRequestContext(test_server_.host_port_pair().ToString())); in TEST_F()
722 scoped_refptr<URLRequestContext> context(new TestURLRequestContext()); in TEST_F()
[all …]
/external/chromium_org/net/url_request/
Dview_cache_helper_unittest.cc19 class TestURLRequestContext : public URLRequestContext { class
21 TestURLRequestContext();
22 virtual ~TestURLRequestContext() {} in ~TestURLRequestContext()
31 TestURLRequestContext::TestURLRequestContext() in TestURLRequestContext() function in net::__anon44f9e8950111::TestURLRequestContext
106 TestURLRequestContext context; in TEST()
117 TestURLRequestContext context; in TEST()
139 TestURLRequestContext context; in TEST()
164 TestURLRequestContext context; in TEST()
183 TestURLRequestContext context; in TEST()
Durl_request_test_util.h50 class TestURLRequestContext : public URLRequestContext {
52 TestURLRequestContext();
57 explicit TestURLRequestContext(bool delay_initialization);
58 virtual ~TestURLRequestContext();
92 scoped_ptr<TestURLRequestContext> context);
95 virtual TestURLRequestContext* GetURLRequestContext() OVERRIDE;
104 scoped_ptr<TestURLRequestContext> context_;
114 TestURLRequestContext* context);
Durl_request_test_util.cc46 TestURLRequestContext::TestURLRequestContext() in TestURLRequestContext() function in net::TestURLRequestContext
53 TestURLRequestContext::TestURLRequestContext(bool delay_initialization) in TestURLRequestContext() function in net::TestURLRequestContext
61 TestURLRequestContext::~TestURLRequestContext() { in ~TestURLRequestContext()
65 void TestURLRequestContext::Init() { in Init()
132 TestURLRequestContext* context) in TestURLRequest()
146 scoped_ptr<TestURLRequestContext> context) in TestURLRequestContextGetter()
153 TestURLRequestContext* TestURLRequestContextGetter::GetURLRequestContext() { in GetURLRequestContext()
155 context_.reset(new TestURLRequestContext); in GetURLRequestContext()
Durl_request_job_factory_impl_unittest.cc62 TestURLRequestContext request_context; in TEST()
75 TestURLRequestContext request_context; in TEST()
89 TestURLRequestContext request_context; in TEST()
Durl_request_job_unittest.cc66 TestURLRequestContext context; in TEST()
86 TestURLRequestContext context; in TEST()
108 TestURLRequestContext context; in TEST()
Durl_fetcher_impl_unittest.cc47 class ThrottlingTestURLRequestContext : public TestURLRequestContext {
49 ThrottlingTestURLRequestContext() : TestURLRequestContext(true) { in ThrottlingTestURLRequestContext()
64 TestURLRequestContext* request_context) in ThrottlingTestURLRequestContextGetter()
70 virtual TestURLRequestContext* GetURLRequestContext() OVERRIDE { in GetURLRequestContext()
77 TestURLRequestContext* const context_;
107 TestURLRequestContext* request_context() { in request_context()
138 scoped_ptr<TestURLRequestContext> context_;
196 context_.reset(new TestURLRequestContext(true)); in SetUp()
442 virtual TestURLRequestContext* GetURLRequestContext() OVERRIDE { in GetURLRequestContext()
480 scoped_ptr<TestURLRequestContext> context_;
/external/chromium_org/chrome/browser/extensions/
Duser_script_listener_unittest.cc161 net::TestURLRequestContext* context) { in StartTestRequest()
210 net::TestURLRequestContext context; in TEST_F()
228 net::TestURLRequestContext context; in TEST_F()
250 net::TestURLRequestContext context; in TEST_F()
266 net::TestURLRequestContext context; in TEST_F()
296 net::TestURLRequestContext context; in TEST_F()
327 net::TestURLRequestContext context; in TEST_F()
/external/chromium_org/jingle/glue/
Dproxy_resolving_client_socket_unittest.cc20 class MyTestURLRequestContext : public net::TestURLRequestContext {
22 MyTestURLRequestContext() : TestURLRequestContext(true) { in MyTestURLRequestContext()
40 scoped_ptr<net::TestURLRequestContext>( in ProxyResolvingClientSocketTest()
/external/chromium_org/net/proxy/
Ddhcp_proxy_script_fetcher_factory_unittest.cc25 scoped_ptr<TestURLRequestContext> context(new TestURLRequestContext()); in TEST()
/external/chromium_org/sync/tools/
Dsync_listen_notifications.cc75 class MyTestURLRequestContext : public net::TestURLRequestContext {
77 MyTestURLRequestContext() : TestURLRequestContext(true) { in MyTestURLRequestContext()
94 virtual net::TestURLRequestContext* GetURLRequestContext() OVERRIDE { in GetURLRequestContext()
Dsync_client.cc69 class MyTestURLRequestContext : public net::TestURLRequestContext {
71 MyTestURLRequestContext() : TestURLRequestContext(true) { in MyTestURLRequestContext()
88 virtual net::TestURLRequestContext* GetURLRequestContext() OVERRIDE { in GetURLRequestContext()
/external/chromium_org/net/websockets/
Dwebsocket_test_util.h102 TestURLRequestContext* GetURLRequestContext();
106 TestURLRequestContext url_request_context_;
/external/chromium_org/chrome/browser/extensions/api/declarative_webrequest/
Dwebrequest_condition_unittest.cc78 net::TestURLRequestContext context; in TEST()
126 net::TestURLRequestContext context; in TEST()
201 net::TestURLRequestContext context; in TEST()
261 net::TestURLRequestContext context; in TEST()
322 net::TestURLRequestContext context; in TEST()
/external/chromium/net/websockets/
Dwebsocket_unittest.cc176 new TestURLRequestContext())); in TEST_F()
239 new TestURLRequestContext())); in TEST_F()
274 new TestURLRequestContext())); in TEST_F()
312 new TestURLRequestContext())); in TEST_F()
/external/chromium_org/net/socket_stream/
Dsocket_stream_unittest.cc237 class TestURLRequestContextWithProxy : public TestURLRequestContext {
240 : TestURLRequestContext(true) { in TestURLRequestContextWithProxy()
398 TestURLRequestContext context; in TEST_F()
458 TestURLRequestContext context; in TEST_F()
491 TestURLRequestContext context; in TEST_F()
719 TestURLRequestContext context; in TEST_F()
781 TestURLRequestContext context; in TEST_F()
809 TestURLRequestContext context; in TEST_F()
943 TestURLRequestContext context; in TEST_F()
980 TestURLRequestContext context; in TEST_F()
[all …]
/external/chromium_org/jingle/notifier/communicator/
Dsingle_login_attempt_unittest.cc73 class MyTestURLRequestContext : public net::TestURLRequestContext {
75 MyTestURLRequestContext() : TestURLRequestContext(true) { in MyTestURLRequestContext()
90 scoped_ptr<net::TestURLRequestContext>( in SingleLoginAttemptTest()
/external/chromium_org/chrome/browser/extensions/api/web_request/
Dweb_request_permissions_unittest.cc32 net::TestURLRequestContext context;
76 net::TestURLRequestContext context; in TEST_F()
/external/chromium_org/chrome/browser/net/
Dchrome_network_delegate_unittest.cc50 net::TestURLRequestContext context; in NeverThrottleLogicImpl()
146 net::TestURLRequestContext context_;
322 net::TestURLRequestContext context_;
/external/chromium_org/chrome/service/cloud_print/
Dcloud_print_url_fetcher_unittest.cc41 virtual net::TestURLRequestContext* GetURLRequestContext() OVERRIDE { in GetURLRequestContext()
43 context_.reset(new net::TestURLRequestContext(true)); in GetURLRequestContext()
58 scoped_ptr<net::TestURLRequestContext> context_;
/external/chromium_org/chrome_frame/test/
Dtest_server_test.cc70 const net::TestURLRequestContext* context) in TestURLRequest()
85 net::TestURLRequestContext context; in Run()
/external/chromium_org/google_apis/gcm/tools/
Dmcs_probe.cc90 class MyTestURLRequestContext : public net::TestURLRequestContext {
92 MyTestURLRequestContext() : TestURLRequestContext(true) { in MyTestURLRequestContext()
109 virtual net::TestURLRequestContext* GetURLRequestContext() OVERRIDE { in GetURLRequestContext()

123