Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(71)

Side by Side Diff: net/base/host_resolver_impl.h

Issue 3036011: [Linux] Enable connecting to localhost when offline. (Closed)
Patch Set: Address comments Created 10 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef NET_BASE_HOST_RESOLVER_IMPL_H_ 5 #ifndef NET_BASE_HOST_RESOLVER_IMPL_H_
6 #define NET_BASE_HOST_RESOLVER_IMPL_H_ 6 #define NET_BASE_HOST_RESOLVER_IMPL_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 234 matching lines...) Expand 10 before | Expand all | Expand 10 after
245 bool shutdown_; 245 bool shutdown_;
246 246
247 // Indicate if probing is done after each network change event to set address 247 // Indicate if probing is done after each network change event to set address
248 // family. 248 // family.
249 // When false, explicit setting of address family is used. 249 // When false, explicit setting of address family is used.
250 bool ipv6_probe_monitoring_; 250 bool ipv6_probe_monitoring_;
251 251
252 // The last un-cancelled IPv6ProbeJob (if any). 252 // The last un-cancelled IPv6ProbeJob (if any).
253 scoped_refptr<IPv6ProbeJob> ipv6_probe_job_; 253 scoped_refptr<IPv6ProbeJob> ipv6_probe_job_;
254 254
255 // Any resolver flags that should be added to a request by default.
256 HostResolverFlags additional_resolver_flags_;
257
255 DISALLOW_COPY_AND_ASSIGN(HostResolverImpl); 258 DISALLOW_COPY_AND_ASSIGN(HostResolverImpl);
256 }; 259 };
257 260
258 } // namespace net 261 } // namespace net
259 262
260 #endif // NET_BASE_HOST_RESOLVER_IMPL_H_ 263 #endif // NET_BASE_HOST_RESOLVER_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698