Home
last modified time | relevance | path

Searched refs:host_resolver (Results 1 – 25 of 99) sorted by relevance

1234

/external/chromium/net/base/
Dhost_resolver_impl_unittest.cc266 scoped_ptr<HostResolver> host_resolver( in TEST_F() local
271 int err = host_resolver->Resolve(info, &addrlist, NULL, NULL, log.bound()); in TEST_F()
301 scoped_ptr<HostResolver> host_resolver( in TEST_F() local
306 int err = host_resolver->Resolve(info, &addrlist, &callback_, NULL, in TEST_F()
345 scoped_ptr<HostResolver> host_resolver( in TEST_F() local
354 int err = host_resolver->Resolve(info, &addrlist, &callback_, NULL, in TEST_F()
411 scoped_ptr<HostResolver> host_resolver( in TEST_F() local
416 int err = host_resolver->Resolve(info, &addrlist, NULL, NULL, BoundNetLog()); in TEST_F()
436 scoped_ptr<HostResolver> host_resolver( in TEST_F() local
441 int err = host_resolver->Resolve(info, &addrlist, NULL, NULL, BoundNetLog()); in TEST_F()
[all …]
/external/chromium/net/proxy/
Dproxy_resolver_js_bindings_unittest.cc114 scoped_ptr<MockHostResolver> host_resolver(new MockHostResolver); in TEST() local
118 ProxyResolverJSBindings::CreateDefault(host_resolver.get(), NULL)); in TEST()
124 host_resolver->rules()->AddSimulatedFailure(""); in TEST()
128 host_resolver->rules()->AddRule("google.com", "192.168.1.1"); in TEST()
133 host_resolver->rules()->AddSimulatedFailure("fail"); in TEST()
141 scoped_ptr<MockHostResolver> host_resolver(new MockHostResolver); in TEST() local
145 ProxyResolverJSBindings::CreateDefault(host_resolver.get(), NULL)); in TEST()
168 scoped_ptr<MockHostResolver> host_resolver(new MockHostResolver); in TEST() local
172 ProxyResolverJSBindings::CreateDefault(host_resolver.get(), NULL)); in TEST()
177 host_resolver->rules()->AddRuleForAddressFamily( in TEST()
[all …]
Dsync_host_resolver_bridge.cc74 SyncHostResolverBridge::Core::Core(HostResolver* host_resolver, in Core() argument
76 : host_resolver_(host_resolver), in Core()
152 SyncHostResolverBridge::SyncHostResolverBridge(HostResolver* host_resolver, in SyncHostResolverBridge() argument
155 core_(new Core(host_resolver, host_resolver_loop)) { in SyncHostResolverBridge()
/external/chromium/net/http/
Dhttp_stream_factory_impl_unittest.cc61 : host_resolver(new MockHostResolver), in SessionDependencies()
66 HttpAuthHandlerFactory::CreateDefault(host_resolver.get())), in SessionDependencies()
69 scoped_ptr<MockHostResolverBase> host_resolver; member
80 params.host_resolver = session_deps->host_resolver.get(); in CreateSession()
129 CapturePreconnectsSocketPool(HostResolver* host_resolver,
197 HostResolver* host_resolver, CertVerifier* /* cert_verifier */) in CapturePreconnectsSocketPool() argument
198 : ParentPool(0, 0, NULL, host_resolver, NULL, NULL), in CapturePreconnectsSocketPool()
203 HostResolver* host_resolver, CertVerifier* /* cert_verifier */) in CapturePreconnectsSocketPool() argument
204 : HttpProxyClientSocketPool(0, 0, NULL, host_resolver, NULL, NULL, NULL), in CapturePreconnectsSocketPool()
209 HostResolver* host_resolver, CertVerifier* cert_verifier) in CapturePreconnectsSocketPool() argument
[all …]
Dhttp_auth_handler_factory.cc43 HostResolver* host_resolver) { in CreateDefault() argument
44 DCHECK(host_resolver); in CreateDefault()
59 negotiate_factory->set_host_resolver(host_resolver); in CreateDefault()
126 HostResolver* host_resolver, in Create() argument
157 DCHECK(host_resolver || negotiate_disable_cname_lookup); in Create()
158 negotiate_factory->set_host_resolver(host_resolver); in Create()
/external/chromium/chrome/browser/extensions/
Dexecute_script_apitest.cc12 host_resolver()->AddRuleWithLatency("a.com", "127.0.0.1", 500); in SetupDelayedHostResolver()
13 host_resolver()->AddRule("b.com", "127.0.0.1"); in SetupDelayedHostResolver()
14 host_resolver()->AddRule("c.com", "127.0.0.1"); in SetupDelayedHostResolver()
37 host_resolver()->AddRule("b.com", "127.0.0.1"); in IN_PROC_BROWSER_TEST_F()
57 host_resolver()->AddRule("a.com", "127.0.0.1"); in IN_PROC_BROWSER_TEST_F()
58 host_resolver()->AddRule("b.com", "127.0.0.1"); in IN_PROC_BROWSER_TEST_F()
Dextension_incognito_apitest.cc47 host_resolver()->AddRule("*", "127.0.0.1"); in IN_PROC_BROWSER_TEST_F()
96 host_resolver()->AddRule("*", "127.0.0.1"); in IN_PROC_BROWSER_TEST_F()
116 host_resolver()->AddRule("*", "127.0.0.1"); in IN_PROC_BROWSER_TEST_F()
150 host_resolver()->AddRule("*", "127.0.0.1"); in IN_PROC_BROWSER_TEST_F()
168 host_resolver()->AddRule("*", "127.0.0.1"); in IN_PROC_BROWSER_TEST_F()
Dchrome_app_api_browsertest.cc34 host_resolver()->AddRule(app_host, "127.0.0.1"); in IN_PROC_BROWSER_TEST_F()
35 host_resolver()->AddRule(nonapp_host, "127.0.0.1"); in IN_PROC_BROWSER_TEST_F()
124 host_resolver()->AddRule(app_host, "127.0.0.1"); in IN_PROC_BROWSER_TEST_F()
125 host_resolver()->AddRule(nonapp_host, "127.0.0.1"); in IN_PROC_BROWSER_TEST_F()
126 host_resolver()->AddRule(checkout_host, "127.0.0.1"); in IN_PROC_BROWSER_TEST_F()
Dextension_tabs_apitest.cc94 host_resolver()->AddRule("a.com", "127.0.0.1"); in IN_PROC_BROWSER_TEST_F()
95 host_resolver()->AddRule("b.com", "127.0.0.1"); in IN_PROC_BROWSER_TEST_F()
102 host_resolver()->AddRule("a.com", "127.0.0.1"); in IN_PROC_BROWSER_TEST_F()
103 host_resolver()->AddRule("b.com", "127.0.0.1"); in IN_PROC_BROWSER_TEST_F()
Dextension_javascript_url_apitest.cc10 host_resolver()->AddRule("a.com", "127.0.0.1"); in IN_PROC_BROWSER_TEST_F()
11 host_resolver()->AddRule("b.com", "127.0.0.1"); in IN_PROC_BROWSER_TEST_F()
Dapp_background_page_apitest.cc49 host_resolver()->AddRule("a.com", "127.0.0.1"); in IN_PROC_BROWSER_TEST_F()
76 host_resolver()->AddRule("a.com", "127.0.0.1"); in IN_PROC_BROWSER_TEST_F()
102 host_resolver()->AddRule("a.com", "127.0.0.1"); in IN_PROC_BROWSER_TEST_F()
Dextension_history_apitest.cc15 host_resolver()->AddRule("www.a.com", "127.0.0.1"); in SetUpInProcessBrowserTestFixture()
16 host_resolver()->AddRule("www.b.com", "127.0.0.1"); in SetUpInProcessBrowserTestFixture()
Dcontent_script_apitest.cc46 host_resolver()->AddRule("a.com", "127.0.0.1"); in IN_PROC_BROWSER_TEST_F()
47 host_resolver()->AddRule("b.com", "127.0.0.1"); in IN_PROC_BROWSER_TEST_F()
/external/chromium/net/ftp/
Dftp_network_layer.cc13 FtpNetworkLayer::FtpNetworkLayer(HostResolver* host_resolver) in FtpNetworkLayer() argument
14 : session_(new FtpNetworkSession(host_resolver)), in FtpNetworkLayer()
23 HostResolver* host_resolver) { in CreateFactory() argument
24 return new FtpNetworkLayer(host_resolver); in CreateFactory()
Dftp_network_session.cc9 FtpNetworkSession::FtpNetworkSession(HostResolver* host_resolver) in FtpNetworkSession() argument
10 : host_resolver_(host_resolver) {} in FtpNetworkSession()
Dftp_network_layer.h19 explicit FtpNetworkLayer(HostResolver* host_resolver);
22 static FtpTransactionFactory* CreateFactory(HostResolver* host_resolver);
Dftp_network_session.h19 explicit FtpNetworkSession(HostResolver* host_resolver);
21 HostResolver* host_resolver() { return host_resolver_; } in host_resolver() function
/external/chromium/chrome/browser/
Dio_thread.cc205 context->set_host_resolver(globals->host_resolver.get()); in ConstructProxyScriptFetcherContext()
227 context->set_host_resolver(globals->host_resolver.get()); in ConstructSystemRequestContext()
438 globals_->host_resolver.reset( in Init()
446 globals_->host_resolver.get())); in Init()
451 session_params.host_resolver = globals_->host_resolver.get(); in Init()
465 new net::FtpNetworkLayer(globals_->host_resolver.get())); in Init()
528 if (globals_->host_resolver->GetAsHostResolverImpl()) { in CleanUp()
529 globals_->host_resolver.get()->GetAsHostResolverImpl()->Shutdown(); in CleanUp()
600 globals_->host_resolver.get(), in InitNetworkPredictorOnIOThread()
635 if (globals_->host_resolver->GetAsHostResolverImpl()) { in ClearHostCache()
[all …]
/external/chromium/net/url_request/
Durl_request_test_util.cc61 net::HostResolver* host_resolver) in TestURLRequestContext() argument
63 context_storage_.set_host_resolver(host_resolver); in TestURLRequestContext()
76 new net::FtpNetworkLayer(host_resolver())); in Init()
79 net::HttpAuthHandlerFactory::CreateDefault(host_resolver())); in Init()
81 params.host_resolver = host_resolver(); in Init()
Durl_request_context_storage.cc35 void URLRequestContextStorage::set_host_resolver(HostResolver* host_resolver) { in set_host_resolver() argument
36 context_->set_host_resolver(host_resolver); in set_host_resolver()
37 host_resolver_.reset(host_resolver); in set_host_resolver()
/external/chromium/net/spdy/
Dspdy_test_util.cc887 : host_resolver(new MockCachingHostResolver), in SpdySessionDependencies()
894 HttpAuthHandlerFactory::CreateDefault(host_resolver.get())) { in SpdySessionDependencies()
901 host_resolver->set_synchronous_mode(true); in SpdySessionDependencies()
905 : host_resolver(new MockHostResolver), in SpdySessionDependencies()
912 HttpAuthHandlerFactory::CreateDefault(host_resolver.get())) {} in SpdySessionDependencies()
921 params.host_resolver = session_deps->host_resolver.get(); in SpdyCreateSession()
936 params.host_resolver = session_deps->host_resolver.get(); in SpdyCreateSessionDeterministic()
951 host_resolver())); in SpdyURLRequestContext()
954 params.host_resolver = host_resolver(); in SpdyURLRequestContext()
971 delete host_resolver(); in ~SpdyURLRequestContext()
/external/chromium/net/socket/
Dtcp_client_socket_pool.h73 HostResolver* host_resolver,
127 HostResolver* host_resolver,
180 HostResolver* host_resolver, in TCPConnectJobFactory() argument
183 host_resolver_(host_resolver), in TCPConnectJobFactory()
Dtransport_client_socket_pool.h73 HostResolver* host_resolver,
148 HostResolver* host_resolver,
201 HostResolver* host_resolver, in TransportConnectJobFactory() argument
204 host_resolver_(host_resolver), in TransportConnectJobFactory()
Dsocks_client_socket_pool.h68 HostResolver* host_resolver,
118 HostResolver* host_resolver,
169 HostResolver* host_resolver, in SOCKSConnectJobFactory() argument
172 host_resolver_(host_resolver), in SOCKSConnectJobFactory()
/external/chromium/net/tools/fetch/
Dfetch_client.cc140 scoped_ptr<net::HostResolver> host_resolver( in main() local
151 net::HttpAuthHandlerFactory::CreateDefault(host_resolver.get())); in main()
154 session_params.host_resolver = host_resolver.get(); in main()

1234