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

Unified Diff: net/dns/dns_transaction.h

Issue 9369045: [net] HostResolverImpl + DnsTransaction + DnsConfigService = Asynchronous DNS ready for experiments. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix ClientSocketFactory lifetime. Move ScopedAllowIO to StartWatch. Added DnsTask logging. Created 8 years, 10 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/dns_transaction.h
diff --git a/net/dns/dns_transaction.h b/net/dns/dns_transaction.h
index 038f4b27d44bfccfb5cdf302a07a20e9b4184afe..adfe0ac8e1888a01fd3e95d5e8a11d6721e405c1 100644
--- a/net/dns/dns_transaction.h
+++ b/net/dns/dns_transaction.h
@@ -38,6 +38,9 @@ class NET_EXPORT_PRIVATE DnsTransaction {
// Starts the transaction. Returns the net error on synchronous failure or
// ERR_IO_PENDING in which case the result will be passed via the callback.
virtual int Start() = 0;
+
+ // Returns the net_log for this transaction.
mmenke 2012/02/14 18:46:00 nit: "BoundNetLog". |net_log| is a private varia
+ virtual const BoundNetLog& net_log() const = 0;
};
// Creates DnsTransaction which performs asynchronous DNS search.

Powered by Google App Engine
This is Rietveld 408576698