diff options
author | szym@chromium.org <szym@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-03-22 20:07:00 +0000 |
---|---|---|
committer | szym@chromium.org <szym@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-03-22 20:07:00 +0000 |
commit | 1def74c2b2e1f8d95e459a9c6e065b9903956b07 (patch) | |
tree | 81060603f1d9b10823b54ae7eed80c5e8653f18e /net/dns | |
parent | 07b3283995a72e29481a05b892c8d41b98530a8d (diff) | |
download | chromium_src-1def74c2b2e1f8d95e459a9c6e065b9903956b07.zip chromium_src-1def74c2b2e1f8d95e459a9c6e065b9903956b07.tar.gz chromium_src-1def74c2b2e1f8d95e459a9c6e065b9903956b07.tar.bz2 |
[net/dns] Added AsyncDNS histogram for success rate, transaction duration and address parse result.
BUG=114833, 117770
TEST=Find AsyncDNS.Result in chrome://histograms
Review URL: http://codereview.chromium.org/9794001
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@128280 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/dns')
-rw-r--r-- | net/dns/dns_response.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/net/dns/dns_response.h b/net/dns/dns_response.h index 4866045..6a3b59b 100644 --- a/net/dns/dns_response.h +++ b/net/dns/dns_response.h @@ -80,7 +80,7 @@ class NET_EXPORT_PRIVATE DnsRecordParser { // position the RR parser. class NET_EXPORT_PRIVATE DnsResponse { public: - // Possible results from ParseToAddressList + // Possible results from ParseToAddressList. enum Result { DNS_SUCCESS = 0, DNS_MALFORMED_RESPONSE, // DnsRecordParser failed before the end of @@ -92,6 +92,8 @@ class NET_EXPORT_PRIVATE DnsResponse { DNS_CNAME_AFTER_ADDRESS, // Found CNAME after an address record. DNS_ADDRESS_TTL_MISMATCH, // TTL of all address records are not identical. DNS_NO_ADDRESSES, // No address records found. + // Only add new values here. + DNS_PARSE_RESULT_MAX, // Bounding value for histograms. }; // Constructs an object with an IOBuffer large enough to read |