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

Unified Diff: net/base/net_log_event_type_list.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/base/net_log_event_type_list.h
diff --git a/net/base/net_log_event_type_list.h b/net/base/net_log_event_type_list.h
index acb32b5bb2cb8591459c3921abc36bbed69707d5..eadc114137143638efe85635fb004f2438708ceb 100644
--- a/net/base/net_log_event_type_list.h
+++ b/net/base/net_log_event_type_list.h
@@ -173,7 +173,7 @@ EVENT_TYPE(HOST_RESOLVER_IMPL_CREATE_PROC_TASK)
//
// On success, the END phase has these parameters:
// {
-// "address_list": <The host name being resolved>,
+// "address_list": <The resolved addresses>,
// }
// If an error occurred, the END phase will contain these parameters:
// {
@@ -182,6 +182,23 @@ EVENT_TYPE(HOST_RESOLVER_IMPL_CREATE_PROC_TASK)
// }
EVENT_TYPE(HOST_RESOLVER_IMPL_PROC_TASK)
+// The creation/completion of a HostResolverImpl::DnsTask to manage a
+// DnsTransaction. The BEGIN phase contains the following parameters:
+//
+// {
+// "source_dependency": <Source id of DnsTransaction>,
+// }
+//
+// On success, the END phase has these parameters:
+// {
+// "address_list": <The resolved addresses>,
+// }
+// If an error occurred, the END phase will contain these parameters:
+// {
+// "net_error": <The net error code integer for the failure>,
+// }
+EVENT_TYPE(HOST_RESOLVER_IMPL_DNS_TASK)
+
// ------------------------------------------------------------------------
// InitProxyResolver
// ------------------------------------------------------------------------
@@ -1287,7 +1304,8 @@ EVENT_TYPE(DNS_TRANSACTION_QUERY)
// It has a single parameter:
//
// {
-// "socket_source": <Source id of the UDP socket created for the attempt>,
+// "source_dependency": <Source id of the UDP socket created for the
+// attempt>,
// }
EVENT_TYPE(DNS_TRANSACTION_ATTEMPT)
@@ -1298,8 +1316,8 @@ EVENT_TYPE(DNS_TRANSACTION_ATTEMPT)
// {
// "rcode": <rcode in the received response>,
// "answer_count": <answer_count in the received response>,
-// "socket_source": <Source id of the UDP socket that received the
-// response>,
+// "source_dependency": <Source id of the UDP socket that received the
+// response>,
// }
EVENT_TYPE(DNS_TRANSACTION_RESPONSE)

Powered by Google App Engine
This is Rietveld 408576698