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

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

Issue 1135373002: Updated NetLog::ParametersCallback & all related calbacks returning value as scoped_ptr<base::Value… Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 7 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
« 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 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
104 return ADDRESS_FAMILY_UNSPECIFIED; 104 return ADDRESS_FAMILY_UNSPECIFIED;
105 } 105 }
106 106
107 void HostResolver::SetDnsClientEnabled(bool enabled) { 107 void HostResolver::SetDnsClientEnabled(bool enabled) {
108 } 108 }
109 109
110 HostCache* HostResolver::GetHostCache() { 110 HostCache* HostResolver::GetHostCache() {
111 return NULL; 111 return NULL;
112 } 112 }
113 113
114 base::Value* HostResolver::GetDnsConfigAsValue() const { 114 scoped_ptr<base::Value> HostResolver::GetDnsConfigAsValue() const {
115 return NULL; 115 return NULL;
116 } 116 }
117 117
118 // static 118 // static
119 scoped_ptr<HostResolver> HostResolver::CreateSystemResolver( 119 scoped_ptr<HostResolver> HostResolver::CreateSystemResolver(
120 const Options& options, 120 const Options& options,
121 NetLog* net_log) { 121 NetLog* net_log) {
122 return scoped_ptr<HostResolver>(new HostResolverImpl(options, net_log)); 122 return scoped_ptr<HostResolver>(new HostResolverImpl(options, net_log));
123 } 123 }
124 124
125 // static 125 // static
126 scoped_ptr<HostResolver> HostResolver::CreateDefaultResolver(NetLog* net_log) { 126 scoped_ptr<HostResolver> HostResolver::CreateDefaultResolver(NetLog* net_log) {
127 return scoped_ptr<HostResolver>(new HostResolverImpl(Options(), net_log)); 127 return scoped_ptr<HostResolver>(new HostResolverImpl(Options(), net_log));
128 } 128 }
129 129
130 HostResolver::HostResolver() { 130 HostResolver::HostResolver() {
131 } 131 }
132 132
133 } // namespace net 133 } // 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