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

Unified Diff: net/dns/host_resolver_impl.h

Issue 2351513002: net: rename BoundNetLog to NetLogWithSource (Closed)
Patch Set: one more fix, content bound_net_log_ Created 4 years, 3 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
Index: net/dns/host_resolver_impl.h
diff --git a/net/dns/host_resolver_impl.h b/net/dns/host_resolver_impl.h
index 2f2cca1e17369d6936edb99104fbf8f66a51a42b..910478d16ee1905548336474d9fe4ba475d1a6ab 100644
--- a/net/dns/host_resolver_impl.h
+++ b/net/dns/host_resolver_impl.h
@@ -26,7 +26,7 @@
namespace net {
class AddressList;
-class BoundNetLog;
+class NetLogWithSource;
class DnsClient;
class IPAddress;
class NetLog;
@@ -138,10 +138,10 @@ class NET_EXPORT HostResolverImpl
AddressList* addresses,
const CompletionCallback& callback,
std::unique_ptr<Request>* out_req,
- const BoundNetLog& source_net_log) override;
+ const NetLogWithSource& source_net_log) override;
int ResolveFromCache(const RequestInfo& info,
AddressList* addresses,
- const BoundNetLog& source_net_log) override;
+ const NetLogWithSource& source_net_log) override;
void SetDnsClientEnabled(bool enabled) override;
HostCache* GetHostCache() override;
std::unique_ptr<base::Value> GetDnsConfigAsValue() const override;
@@ -152,7 +152,7 @@ class NET_EXPORT HostResolverImpl
int ResolveStaleFromCache(const RequestInfo& info,
AddressList* addresses,
HostCache::EntryStaleness* stale_info,
- const BoundNetLog& source_net_log);
+ const NetLogWithSource& source_net_log);
void InitializePersistence(
const PersistCallback& persist_callback,
@@ -204,7 +204,7 @@ class NET_EXPORT HostResolverImpl
AddressList* addresses,
bool allow_stale,
HostCache::EntryStaleness* stale_info,
- const BoundNetLog& request_net_log);
+ const NetLogWithSource& request_net_log);
// Tries to resolve |key| as an IP, returns true and sets |net_error| if
// succeeds, returns false otherwise.
@@ -248,12 +248,12 @@ class NET_EXPORT HostResolverImpl
// family when the request leaves it unspecified.
Key GetEffectiveKeyForRequest(const RequestInfo& info,
const IPAddress* ip_address,
- const BoundNetLog& net_log);
+ const NetLogWithSource& net_log);
// Probes IPv6 support and returns true if IPv6 support is enabled.
// Results are cached, i.e. when called repeatedly this method returns result
// from the first probe for some time before probing again.
- virtual bool IsIPv6Reachable(const BoundNetLog& net_log);
+ virtual bool IsIPv6Reachable(const NetLogWithSource& net_log);
// Asynchronously checks if only loopback IPs are available.
virtual void RunLoopbackProbeJob();

Powered by Google App Engine
This is Rietveld 408576698