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

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

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.cc ('k') | net/dns/host_resolver_impl.cc » ('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 #ifndef NET_DNS_HOST_RESOLVER_IMPL_H_ 5 #ifndef NET_DNS_HOST_RESOLVER_IMPL_H_
6 #define NET_DNS_HOST_RESOLVER_IMPL_H_ 6 #define NET_DNS_HOST_RESOLVER_IMPL_H_
7 7
8 #include <map> 8 #include <map>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after
132 RequestHandle* out_req, 132 RequestHandle* out_req,
133 const BoundNetLog& source_net_log) override; 133 const BoundNetLog& source_net_log) override;
134 int ResolveFromCache(const RequestInfo& info, 134 int ResolveFromCache(const RequestInfo& info,
135 AddressList* addresses, 135 AddressList* addresses,
136 const BoundNetLog& source_net_log) override; 136 const BoundNetLog& source_net_log) override;
137 void CancelRequest(RequestHandle req) override; 137 void CancelRequest(RequestHandle req) override;
138 void SetDefaultAddressFamily(AddressFamily address_family) override; 138 void SetDefaultAddressFamily(AddressFamily address_family) override;
139 AddressFamily GetDefaultAddressFamily() const override; 139 AddressFamily GetDefaultAddressFamily() const override;
140 void SetDnsClientEnabled(bool enabled) override; 140 void SetDnsClientEnabled(bool enabled) override;
141 HostCache* GetHostCache() override; 141 HostCache* GetHostCache() override;
142 base::Value* GetDnsConfigAsValue() const override; 142 scoped_ptr<base::Value> GetDnsConfigAsValue() const override;
143 143
144 void set_proc_params_for_test(const ProcTaskParams& proc_params) { 144 void set_proc_params_for_test(const ProcTaskParams& proc_params) {
145 proc_params_ = proc_params; 145 proc_params_ = proc_params;
146 } 146 }
147 147
148 private: 148 private:
149 friend class HostResolverImplTest; 149 friend class HostResolverImplTest;
150 class Job; 150 class Job;
151 class ProcTask; 151 class ProcTask;
152 class LoopbackProbeJob; 152 class LoopbackProbeJob;
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after
297 base::WeakPtrFactory<HostResolverImpl> weak_ptr_factory_; 297 base::WeakPtrFactory<HostResolverImpl> weak_ptr_factory_;
298 298
299 base::WeakPtrFactory<HostResolverImpl> probe_weak_ptr_factory_; 299 base::WeakPtrFactory<HostResolverImpl> probe_weak_ptr_factory_;
300 300
301 DISALLOW_COPY_AND_ASSIGN(HostResolverImpl); 301 DISALLOW_COPY_AND_ASSIGN(HostResolverImpl);
302 }; 302 };
303 303
304 } // namespace net 304 } // namespace net
305 305
306 #endif // NET_DNS_HOST_RESOLVER_IMPL_H_ 306 #endif // NET_DNS_HOST_RESOLVER_IMPL_H_
OLDNEW
« no previous file with comments | « net/dns/host_resolver.cc ('k') | net/dns/host_resolver_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698