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

Side by Side Diff: net/dns/host_resolver.cc

Issue 19286002: Remove interface probing for IPv6 support from HostResolverImpl (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Make --enable-ipv6 disable probing. Created 7 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 | Annotate | Revision Log
« no previous file with comments | « net/dns/host_resolver.h ('k') | net/dns/host_resolver_impl.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 #include "net/dns/host_resolver.h" 5 #include "net/dns/host_resolver.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "base/metrics/field_trial.h" 8 #include "base/metrics/field_trial.h"
9 #include "base/strings/string_number_conversions.h" 9 #include "base/strings/string_number_conversions.h"
10 #include "base/strings/string_split.h" 10 #include "base/strings/string_split.h"
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
102 priority_(MEDIUM) { 102 priority_(MEDIUM) {
103 } 103 }
104 104
105 HostResolver::~HostResolver() { 105 HostResolver::~HostResolver() {
106 } 106 }
107 107
108 AddressFamily HostResolver::GetDefaultAddressFamily() const { 108 AddressFamily HostResolver::GetDefaultAddressFamily() const {
109 return ADDRESS_FAMILY_UNSPECIFIED; 109 return ADDRESS_FAMILY_UNSPECIFIED;
110 } 110 }
111 111
112 void HostResolver::ProbeIPv6Support() {
113 }
114
115 void HostResolver::SetDnsClientEnabled(bool enabled) { 112 void HostResolver::SetDnsClientEnabled(bool enabled) {
116 } 113 }
117 114
118 HostCache* HostResolver::GetHostCache() { 115 HostCache* HostResolver::GetHostCache() {
119 return NULL; 116 return NULL;
120 } 117 }
121 118
122 base::Value* HostResolver::GetDnsConfigAsValue() const { 119 base::Value* HostResolver::GetDnsConfigAsValue() const {
123 return NULL; 120 return NULL;
124 } 121 }
(...skipping 14 matching lines...) Expand all
139 // static 136 // static
140 scoped_ptr<HostResolver> 137 scoped_ptr<HostResolver>
141 HostResolver::CreateDefaultResolver(NetLog* net_log) { 138 HostResolver::CreateDefaultResolver(NetLog* net_log) {
142 return CreateSystemResolver(Options(), net_log); 139 return CreateSystemResolver(Options(), net_log);
143 } 140 }
144 141
145 HostResolver::HostResolver() { 142 HostResolver::HostResolver() {
146 } 143 }
147 144
148 } // namespace net 145 } // namespace net
OLDNEW
« no previous file with comments | « net/dns/host_resolver.h ('k') | net/dns/host_resolver_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698