Searched refs:resolver_ (Results 1 - 25 of 88) sorted by relevance

1234

/external/chromium_org/extensions/browser/api/dns/
H A Dhost_resolver_wrapper.cc12 HostResolverWrapper::HostResolverWrapper() : resolver_(NULL) {}
21 return resolver_ ? resolver_ : context->GetHostResolver();
26 resolver_ = mock_resolver;
H A Dhost_resolver_wrapper.h45 net::HostResolver* resolver_; member in class:extensions::HostResolverWrapper
/external/chromium_org/content/browser/
H A Dresolve_proxy_msg_helper_unittest.cc62 : resolver_(new net::MockAsyncProxyResolver),
64 new net::ProxyService(new MockProxyConfigService, resolver_, NULL)),
84 net::MockAsyncProxyResolver* resolver_; member in class:content::ResolveProxyMsgHelperTest
121 resolver_->pending_set_pac_script_request()->CompleteNow(net::OK);
123 ASSERT_EQ(1u, resolver_->pending_requests().size());
124 EXPECT_EQ(url1, resolver_->pending_requests()[0]->url());
125 resolver_->pending_requests()[0]->results()->UseNamedProxy("result1:80");
126 resolver_->pending_requests()[0]->CompleteNow(net::OK);
135 ASSERT_EQ(1u, resolver_->pending_requests().size());
136 EXPECT_EQ(url2, resolver_
[all...]
/external/chromium_org/third_party/webrtc/base/
H A Dautodetectproxy.cc32 : agent_(user_agent), resolver_(NULL), socket_(NULL), next_(0) {
36 if (resolver_) {
37 resolver_->Destroy(false);
126 if (resolver != resolver_) {
129 int error = resolver_->GetError();
132 << resolver_->address();
133 proxy_.address = resolver_->address();
138 LOG(LS_INFO) << "Failed to resolve " << resolver_->address();
139 resolver_->Destroy(false);
140 resolver_
[all...]
H A Dmacasyncsocket.cc41 resolver_(NULL) {
93 if (thread != resolver_) {
96 int error = resolver_->GetError();
98 error = DoConnect(resolver_->address());
117 resolver_ = new AsyncResolver();
118 resolver_->SignalWorkDone.connect(this,
120 resolver_->Start(addr);
268 if (resolver_) {
269 resolver_->Destroy(false);
270 resolver_
[all...]
/external/chromium_org/net/dns/
H A Dsingle_request_host_resolver.cc16 : resolver_(resolver),
21 DCHECK(resolver_ != NULL);
44 int rv = resolver_->Resolve(
59 resolver_->CancelRequest(cur_request_);
H A Dsingle_request_host_resolver.h46 // Callback for when the request to |resolver_| completes, so we dispatch
51 HostResolver* const resolver_; member in class:net::SingleRequestHostResolver
57 // Completion callback for when request to |resolver_| completes.
H A Dhost_resolver_impl_unittest.cc210 resolver_(resolver),
217 DCHECK(resolver_);
220 result_ = resolver_->Resolve(
233 DCHECK(resolver_);
235 return resolver_->ResolveFromCache(info_, &list_, BoundNetLog());
239 DCHECK(resolver_);
241 resolver_->CancelRequest(handle_);
305 HostResolver* resolver_; member in class:net::__anon9208::Request
457 void DeleteResolver() { test->resolver_.reset(); }
468 if (resolver_
536 scoped_ptr<HostResolverImpl> resolver_; member in class:net::HostResolverImplTest
[all...]
/external/chromium_org/remoting/client/plugin/
H A Dpepper_address_resolver.cc14 : resolver_(instance),
30 int result = resolver_.Resolve(
69 int count = resolver_.GetNetAddressCount();
71 pp::NetAddress address = resolver_.GetNetAddress(i);
H A Dpepper_address_resolver.h31 pp::HostResolver resolver_; member in class:remoting::PepperAddressResolver
/external/chromium_org/content/browser/renderer_host/pepper/
H A Dpepper_lookup_request.h30 : resolver_(resolver),
38 resolver_.Resolve(request_info_,
54 net::SingleRequestHostResolver resolver_; member in class:content::PepperLookupRequest
/external/chromium_org/chrome/browser/chromeos/login/auth/
H A Donline_attempt_unittest.cc64 attempt_(new OnlineAttempt(&state_, &resolver_)) {}
72 EXPECT_CALL(resolver_, Resolve()).Times(1).RetiresOnSaturation();
93 MockAuthAttemptStateResolver resolver_; member in class:chromeos::OnlineAttemptTest
98 EXPECT_CALL(resolver_, Resolve()).Times(1).RetiresOnSaturation();
113 EXPECT_CALL(resolver_, Resolve())
135 EXPECT_CALL(resolver_, Resolve())
160 EXPECT_CALL(resolver_, Resolve())
168 attempt_.reset(new OnlineAttempt(&local_state, &resolver_));
182 EXPECT_CALL(resolver_, Resolve())
190 attempt_.reset(new OnlineAttempt(&local_state, &resolver_));
[all...]
/external/chromium_org/net/proxy/
H A Dproxy_resolver_perftest.cc86 : resolver_(resolver),
109 if (!resolver_->expects_pac_bytes()) {
112 int rv = resolver_->SetPacScript(
125 int result = resolver_->GetProxyForURL(
141 int result = resolver_->GetProxyForURL(
173 int rv = resolver_->SetPacScript(
179 net::ProxyResolver* resolver_; member in class:PacPerfSuiteRunner
H A Dmock_proxy_resolver.cc17 : resolver_(resolver),
27 resolver_->RemovePendingRequest(this);
38 : resolver_(resolver),
49 resolver_->RemovePendingSetPacScriptRequest(this);
H A Dproxy_script_decider_unittest.cc314 request_context_.set_host_resolver(&resolver_);
327 MockHostResolver resolver_; member in class:net::__anon9390::ProxyScriptDeciderQuickCheckTest
341 resolver_.set_synchronous_mode(true);
342 resolver_.rules()->AddRule("wpad", "1.2.3.4");
354 resolver_.set_ondemand_mode(true);
355 resolver_.rules()->AddRule("wpad", "1.2.3.4");
358 ASSERT_TRUE(resolver_.has_pending_requests());
359 resolver_.ResolveAllPending();
361 EXPECT_FALSE(resolver_.has_pending_requests());
370 resolver_
[all...]
H A Dmock_proxy_resolver.h43 MockAsyncProxyResolverBase* resolver_; member in class:net::MockAsyncProxyResolverBase::Request
65 MockAsyncProxyResolverBase* resolver_; member in class:net::MockAsyncProxyResolverBase::SetPacScriptRequest
/external/chromium_org/net/http/
H A Dhttp_auth_handler_negotiate.cc23 resolver_(NULL),
36 resolver_ = resolver;
62 url_security_manager(), resolver_,
79 resolver_, disable_cname_lookup_,
104 resolver_(resolver),
282 if (disable_cname_lookup_ || !resolver_)
289 single_resolve_.reset(new SingleRequestHostResolver(resolver_));
H A Dhttp_auth_handler_negotiate.h84 HostResolver* resolver_; member in class:net::HttpAuthHandlerNegotiate::Factory
145 HostResolver* const resolver_; member in class:net::HttpAuthHandlerNegotiate
/external/chromium_org/chromeos/login/auth/
H A Donline_attempt.h37 // Status will be recorded in |current_attempt|, and resolver_->Resolve() will
66 AuthAttemptStateResolver* const resolver_; member in class:chromeos::OnlineAttempt
H A Donline_attempt.cc36 resolver_(callback),
149 resolver_->Resolve();
/external/chromium_org/mojo/bindings/js/
H A Ddrain_data.cc30 CHECK(resolver_.IsEmpty());
33 resolver_.Reset(isolate_, resolver);
40 resolver_.Reset();
115 v8::Local<v8::Promise::Resolver>::New(isolate_, resolver_));
H A Ddrain_data.h57 v8::UniquePersistent<v8::Promise::Resolver> resolver_; member in class:mojo::js::DrainData
/external/chromium_org/third_party/libjingle/source/talk/examples/peerconnection/client/
H A Dpeer_connection_client.cc67 resolver_(NULL),
136 resolver_ = new rtc::AsyncResolver();
137 resolver_->SignalDone.connect(this, &PeerConnectionClient::OnResolveResult);
138 resolver_->Start(server_address_);
146 if (resolver_->GetError() != 0) {
148 resolver_->Destroy(false);
149 resolver_ = NULL;
152 server_address_ = resolver_->address();
236 if (resolver_ != NULL) {
237 resolver_
[all...]
/external/chromium_org/chrome/browser/local_discovery/
H A Dprivet_http_asynchronous_factory_impl.cc69 resolver_ = service_discovery_client->CreateLocalDomainResolver(
79 resolver_->Start();
/external/chromium_org/native_client_sdk/src/examples/api/socket/
H A Dsocket.cc57 pp::HostResolver resolver_; member in class:ExampleInstance
163 resolver_ = pp::HostResolver(this);
164 if (resolver_.is_null()) {
180 resolver_.Resolve(hostname.c_str(), port, hint, callback);
190 pp::NetAddress addr = resolver_.GetNetAddress(0);

Completed in 630 milliseconds

1234