summaryrefslogtreecommitdiffstats
path: root/components/domain_reliability
diff options
context:
space:
mode:
authorttuttle <ttuttle@chromium.org>2014-10-31 12:56:41 -0700
committerCommit bot <commit-bot@chromium.org>2014-10-31 19:57:03 +0000
commit4aa422f5f8ab5baa4c1b76a040a033e9c7e5588d (patch)
tree00f2cbd56e63f0029f6a7aa0f201ecac5a7d945d /components/domain_reliability
parenta0a1b16124cb5c4340cf56e6df92fef846fb0337 (diff)
downloadchromium_src-4aa422f5f8ab5baa4c1b76a040a033e9c7e5588d.zip
chromium_src-4aa422f5f8ab5baa4c1b76a040a033e9c7e5588d.tar.gz
chromium_src-4aa422f5f8ab5baa4c1b76a040a033e9c7e5588d.tar.bz2
Domain Reliability: Include ERR_ABORTED requests in reports
Many requests that would eventually be timeout errors instead show up as ERR_ABORTED, so make requests ending in ERR_ABORTED visible to Domain Reliability collectors. BUG= Review URL: https://codereview.chromium.org/690083002 Cr-Commit-Position: refs/heads/master@{#302312}
Diffstat (limited to 'components/domain_reliability')
-rw-r--r--components/domain_reliability/util.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/components/domain_reliability/util.cc b/components/domain_reliability/util.cc
index 0fc03a5..68f6db6 100644
--- a/components/domain_reliability/util.cc
+++ b/components/domain_reliability/util.cc
@@ -42,6 +42,7 @@ const struct NetErrorMapping {
const char* beacon_status;
} net_error_map[] = {
{ net::OK, "ok" },
+ { net::ERR_ABORTED, "aborted" },
{ net::ERR_TIMED_OUT, "tcp.connection.timed_out" },
{ net::ERR_CONNECTION_CLOSED, "tcp.connection.closed" },
{ net::ERR_CONNECTION_RESET, "tcp.connection.reset" },