Home
last modified time | relevance | path

Searched refs:host_resolver_ (Results 1 – 25 of 88) sorted by relevance

1234

/external/chromium/chrome/browser/net/
Dpredictor_unittest.cc66 host_resolver_(new net::MockCachingHostResolver()), in PredictorTest()
79 net::RuleBasedHostResolverProc* rules = host_resolver_->rules(); in SetUp()
102 scoped_ptr<net::MockCachingHostResolver> host_resolver_; member in chrome_browser_net::PredictorTest
113 new Predictor(host_resolver_.get(), in TEST_F()
124 host_resolver_->Reset(resolver_proc); in TEST_F()
127 new Predictor(host_resolver_.get(), in TEST_F()
153 new Predictor(host_resolver_.get(), in TEST_F()
182 host_resolver_->rules()->AddSimulatedFailure("*.notfound"); in TEST_F()
185 new Predictor(host_resolver_.get(), in TEST_F()
232 host_resolver_->rules()->AddSimulatedFailure("*.notfound"); in TEST_F()
[all …]
Dconnection_tester_unittest.cc105 net::MockHostResolver host_resolver_; member in __anone89cd7fd0111::ConnectionTesterTest
116 proxy_script_fetcher_context_->set_host_resolver(&host_resolver_); in InitializeRequestContext()
125 session_params.host_resolver = &host_resolver_; in InitializeRequestContext()
/external/chromium_org/chrome/browser/net/
Dpredictor_unittest.cc75 host_resolver_(new net::MockCachingHostResolver()) { in PredictorTest()
90 net::RuleBasedHostResolverProc* rules = host_resolver_->rules(); in SetUp()
124 scoped_ptr<net::MockCachingHostResolver> host_resolver_; member in chrome_browser_net::PredictorTest
163 testing_master.SetHostResolver(host_resolver_.get()); in TEST_F()
189 host_resolver_->rules()->AddSimulatedFailure("*.notfound"); in TEST_F()
192 testing_master.SetHostResolver(host_resolver_.get()); in TEST_F()
236 host_resolver_->rules()->AddSimulatedFailure("*.notfound"); in TEST_F()
239 testing_master.SetHostResolver(host_resolver_.get()); in TEST_F()
362 predictor.SetHostResolver(host_resolver_.get()); in TEST_F()
379 predictor.SetHostResolver(host_resolver_.get()); in TEST_F()
[all …]
Dconnection_tester_unittest.cc111 net::MockHostResolver host_resolver_; member in __anon3a5e51a40111::ConnectionTesterTest
123 proxy_script_fetcher_context_->set_host_resolver(&host_resolver_); in InitializeRequestContext()
135 session_params.host_resolver = &host_resolver_; in InitializeRequestContext()
/external/chromium/net/socket/
Dsocks_client_socket_unittest.cc42 scoped_ptr<MockHostResolver> host_resolver_; member in net::SOCKSClientSocketTest
47 : host_resolver_(new MockHostResolver) { in SOCKSClientSocketTest()
133 host_resolver_.get(), in TEST_F()
206 host_resolver_.get(), in TEST_F()
243 host_resolver_.get(), in TEST_F()
281 host_resolver_.get(), in TEST_F()
313 host_resolver_.get(), in TEST_F()
337 host_resolver_->rules()->AddSimulatedFailure(hostname); in TEST_F()
343 host_resolver_.get(), in TEST_F()
Dtransport_client_socket_pool_unittest.cc353 host_resolver_(new MockHostResolver), in TransportClientSocketPoolTest()
357 host_resolver_.get(), in TransportClientSocketPoolTest()
393 scoped_ptr<MockHostResolver> host_resolver_; member in net::__anon3a71cdbb0111::TransportClientSocketPoolTest
498 host_resolver_->rules()->AddSimulatedFailure("unresolvable.host.name"); in TEST_F()
520 host_resolver_->set_synchronous_mode(true); in TEST_F()
532 host_resolver_->set_synchronous_mode(true); in TEST_F()
590 host_resolver_->set_synchronous_mode(true); in TEST_F()
664 host_resolver_->set_synchronous_mode(true); in TEST_F()
686 host_resolver_->set_synchronous_mode(true); in TEST_F()
791 host_resolver_->set_synchronous_mode(true); in TEST_F()
[all …]
Dclient_socket_pool_manager.cc259 host_resolver_(host_resolver), in ClientSocketPoolManager()
418 host_resolver_, in GetSocketPoolForSOCKSProxy()
428 host_resolver_, in GetSocketPoolForSOCKSProxy()
457 host_resolver_, in GetSocketPoolForHTTPProxy()
469 host_resolver_, in GetSocketPoolForHTTPProxy()
481 host_resolver_, in GetSocketPoolForHTTPProxy()
500 host_resolver_, in GetSocketPoolForHTTPProxy()
518 host_resolver_, in GetSocketPoolForSSLWithProxy()
Dsocks_client_socket.cc68 host_resolver_(host_resolver), in SOCKSClientSocket()
84 host_resolver_(host_resolver), in SOCKSClientSocket()
128 host_resolver_.Cancel(); in Disconnect()
275 return host_resolver_.Resolve( in DoResolveHost()
/external/chromium_org/net/socket/
Dclient_socket_pool_manager_impl.cc50 host_resolver_(host_resolver), in ClientSocketPoolManagerImpl()
222 host_resolver_, in GetSocketPoolForSOCKSProxy()
233 host_resolver_, in GetSocketPoolForSOCKSProxy()
264 host_resolver_, in GetSocketPoolForHTTPProxy()
277 host_resolver_, in GetSocketPoolForHTTPProxy()
288 host_resolver_, in GetSocketPoolForHTTPProxy()
310 host_resolver_, in GetSocketPoolForHTTPProxy()
329 host_resolver_, in GetSocketPoolForSSLWithProxy()
Dsocks_client_socket_unittest.cc46 scoped_ptr<MockHostResolver> host_resolver_; member in net::SOCKSClientSocketTest
51 : host_resolver_(new MockHostResolver) { in SOCKSClientSocketTest()
150 host_resolver_.get(), in TEST_F()
226 host_resolver_.get(), in TEST_F()
263 host_resolver_.get(), in TEST_F()
301 host_resolver_.get(), in TEST_F()
333 host_resolver_.get(), in TEST_F()
357 host_resolver_->rules()->AddSimulatedFailure(hostname); in TEST_F()
363 host_resolver_.get(), in TEST_F()
Dtransport_client_socket_pool_unittest.cc454 host_resolver_(new MockHostResolver), in TransportClientSocketPoolTest()
459 host_resolver_.get(), in TransportClientSocketPoolTest()
496 scoped_ptr<MockHostResolver> host_resolver_; member in net::__anon03483a020111::TransportClientSocketPoolTest
600 EXPECT_EQ(priority, host_resolver_->last_request_priority()); in TEST_F()
605 host_resolver_->rules()->AddSimulatedFailure("unresolvable.host.name"); in TEST_F()
629 host_resolver_->set_synchronous_mode(true); in TEST_F()
641 host_resolver_->set_synchronous_mode(true); in TEST_F()
699 host_resolver_->set_synchronous_mode(true); in TEST_F()
778 host_resolver_->set_synchronous_mode(true); in TEST_F()
800 host_resolver_->set_synchronous_mode(true); in TEST_F()
[all …]
/external/chromium/net/proxy/
Dsync_host_resolver_bridge_unittest.cc83 : ProxyResolver(false), host_resolver_(host_resolver) {} in SyncProxyResolver()
97 host_resolver_->Resolve(info, &addresses, NULL, NULL, BoundNetLog()); in GetProxyForURL()
109 host_resolver_->Shutdown(); in Shutdown()
123 SyncHostResolverBridge* const host_resolver_; member in net::__anon32576a9f0111::SyncProxyResolver
Dsync_host_resolver_bridge.cc53 HostResolver* const host_resolver_; member in net::SyncHostResolverBridge::Core
76 : host_resolver_(host_resolver), in Core()
106 int error = host_resolver_->Resolve( in StartResolve()
137 host_resolver_->CancelRequest(outstanding_request_); in Shutdown()
Dproxy_resolver_js_bindings.cc68 : host_resolver_(host_resolver), in DefaultJSBindings()
156 host_resolver_->Shutdown(); in Shutdown()
252 int result = host_resolver_->Resolve(info, address_list, NULL, NULL, in DnsResolveHelper()
288 HostResolver* const host_resolver_; member in net::__anon3845a3450111::DefaultJSBindings
/external/chromium_org/net/ftp/
Dftp_network_session.h21 HostResolver* host_resolver() { return host_resolver_; } in host_resolver()
28 HostResolver* const host_resolver_; variable
/external/chromium/net/websockets/
Dwebsocket.h84 host_resolver_(NULL), in Request()
97 host_resolver_ = host_resolver; in SetHostResolver()
99 HostResolver* host_resolver() const { return host_resolver_; } in host_resolver()
118 HostResolver* host_resolver_; variable
/external/chromium/net/ftp/
Dftp_network_session.h21 HostResolver* host_resolver() { return host_resolver_; } in host_resolver()
29 HostResolver* const host_resolver_; variable
/external/chromium_org/net/quic/
Dquic_end_to_end_unittest.cc81 host_resolver_(host_resolver_impl_.PassAs<HostResolver>()), in QuicEndToEndTest()
85 HttpAuthHandlerFactory::CreateDefault(&host_resolver_)), in QuicEndToEndTest()
94 params_.host_resolver = &host_resolver_; in QuicEndToEndTest()
119 EXPECT_TRUE(host_resolver_.AddRuleFromString(map_rule)); in SetUp()
208 MappedHostResolver host_resolver_; member in net::test::QuicEndToEndTest
Dquic_network_transaction_unittest.cc66 HttpAuthHandlerFactory::CreateDefault(&host_resolver_)), in QuicNetworkTransactionTest()
231 params_.host_resolver = &host_resolver_; in CreateSessionWithFactory()
322 MockHostResolver host_resolver_; member in net::test::QuicNetworkTransactionTest
684 host_resolver_.set_synchronous_mode(true); in TEST_F()
685 host_resolver_.rules()->AddIPLiteralRule("www.google.com", "192.168.0.1", ""); in TEST_F()
688 host_resolver_.Resolve(info, in TEST_F()
737 host_resolver_.set_synchronous_mode(true); in TEST_F()
738 host_resolver_.rules()->AddIPLiteralRule("www.google.com", "192.168.0.1", ""); in TEST_F()
741 host_resolver_.Resolve(info, DEFAULT_PRIORITY, &address, in TEST_F()
/external/chromium_org/net/url_request/
Durl_request_context.h74 return host_resolver_; in NON_EXPORTED_BASE()
78 host_resolver_ = host_resolver; in NON_EXPORTED_BASE()
221 HostResolver* host_resolver_; in NON_EXPORTED_BASE() local
Durl_request_context_builder.h104 host_resolver_.reset(host_resolver); in set_host_resolver()
145 scoped_ptr<HostResolver> host_resolver_; variable
/external/chromium/net/url_request/
Durl_request_context.h60 return host_resolver_; in host_resolver()
64 host_resolver_ = host_resolver; in set_host_resolver()
214 HostResolver* host_resolver_; variable
/external/chromium/net/http/
Dhttp_network_layer_unittest.cc29 session_params.host_resolver = &host_resolver_; in HttpNetworkLayerTest()
38 MockHostResolver host_resolver_; member in net::__anondfcee5eb0111::HttpNetworkLayerTest
/external/chromium_org/google_apis/gcm/tools/
Dmcs_probe.cc187 scoped_ptr<net::HostResolver> host_resolver_; member in gcm::__anonf55409210111::MCSProbe
279 host_resolver_ = net::HostResolver::CreateDefaultResolver(&net_log_); in InitializeNetworkState()
297 host_resolver_.get(), in InitializeNetworkState()
308 session_params.host_resolver = host_resolver_.get(); in BuildNetworkSession()
/external/chromium_org/net/proxy/
Dproxy_script_decider.cc93 host_resolver_.reset(new SingleRequestHostResolver( in ProxyScriptDecider()
251 if (host_resolver_.get() == NULL) { in DoQuickCheck()
272 return host_resolver_->Resolve(reqinfo, HIGHEST, &wpad_addresses_, in DoQuickCheck()
282 host_resolver_->Cancel(); in DoQuickCheckComplete()

1234