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

Unified Diff: net/base/net_log_event_type_list.h

Issue 9190031: DnsClient refactoring + features (timeout, suffix search, server rotation). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Delinted. Created 8 years, 11 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
« no previous file with comments | « net/base/dns_util.h ('k') | net/dns/async_host_resolver.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 2c273363ce12ee968b9d835789a1e9d27039eb22..44f6f22bbf26a48445921100295fd301d65fb8cc 100644
--- a/net/base/net_log_event_type_list.h
+++ b/net/base/net_log_event_type_list.h
@@ -1,4 +1,4 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -1205,7 +1205,6 @@ EVENT_TYPE(THROTTLING_GOT_CUSTOM_RETRY_AFTER)
// The BEGIN phase contains the following parameters:
//
// {
-// "dns_server": <IP of the DNS server to which queries are sent>,
// "hostname": <The hostname it is trying to resolve>,
// "query_type": <Type of the query>,
// "source_dependency": <Source id, if any, of what created the
@@ -1215,23 +1214,46 @@ EVENT_TYPE(THROTTLING_GOT_CUSTOM_RETRY_AFTER)
// The END phase contains the following parameters:
//
// {
-// "ip_address_list": <The result of the resolution process,
-// an IPAddressList>
// "net_error": <The net error code for the failure, if any>,
// }
EVENT_TYPE(DNS_TRANSACTION)
+// The start/end of a DnsTransaction query for a fully-qualified domain name.
+//
+// The BEGIN phase contains the following parameters:
+//
+// {
+// "qname": <The fully-qualified domain name it is trying to resolve>,
+// }
+//
+// The END phase contains the following parameters:
+//
+// {
+// "net_error": <The net error code for the failure, if any>,
+// }
+EVENT_TYPE(DNS_TRANSACTION_QUERY)
+
// This event is created when DnsTransaction creates a new UDP socket and
-// tries to resolve the hostname.
+// tries to resolve the fully-qualified name.
//
// It has a single parameter:
//
// {
-// "attempt_number": <current attempt number at resolving hostname>
-// "source_dependency": <Source id of the UDP socket that caused the
-// attempt>,
+// "socket_source": <Source id of the UDP socket created for the attempt>,
+// }
+EVENT_TYPE(DNS_TRANSACTION_ATTEMPT)
+
+// This event is created when DnsTransaction receives a matching response.
+//
+// It has the following parameters:
+//
+// {
+// "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>,
// }
-EVENT_TYPE(DNS_TRANSACTION_ATTEMPT_STARTED)
+EVENT_TYPE(DNS_TRANSACTION_RESPONSE)
// ------------------------------------------------------------------------
// AsyncHostResolver
« no previous file with comments | « net/base/dns_util.h ('k') | net/dns/async_host_resolver.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698