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

Unified Diff: net/base/host_resolver.h

Issue 1629005: Revert 43826 - HostResolver now adds AI_CANONNAME to the hint flags if a requ... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 10 years, 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/base/host_cache_unittest.cc ('k') | net/base/host_resolver_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/base/host_resolver.h
===================================================================
--- net/base/host_resolver.h (revision 43832)
+++ net/base/host_resolver.h (working copy)
@@ -41,7 +41,6 @@
RequestInfo(const std::string& hostname, int port)
: hostname_(hostname),
address_family_(ADDRESS_FAMILY_UNSPECIFIED),
- host_resolver_flags_(0),
port_(port),
allow_cached_response_(true),
is_speculative_(false),
@@ -62,13 +61,6 @@
address_family_ = address_family;
}
- HostResolverFlags host_resolver_flags() const {
- return host_resolver_flags_;
- }
- void set_host_resolver_flags(HostResolverFlags host_resolver_flags) {
- host_resolver_flags_ = host_resolver_flags;
- }
-
bool allow_cached_response() const { return allow_cached_response_; }
void set_allow_cached_response(bool b) { allow_cached_response_ = b; }
@@ -88,9 +80,6 @@
// The address family to restrict results to.
AddressFamily address_family_;
- // Flags for the address.
- HostResolverFlags host_resolver_flags_;
-
// The port number to set in the result's sockaddrs.
int port_;
« no previous file with comments | « net/base/host_cache_unittest.cc ('k') | net/base/host_resolver_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698