summaryrefslogtreecommitdiffstats
path: root/chrome/browser/net/url_info.cc
diff options
context:
space:
mode:
authorwez@chromium.org <wez@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-03-01 22:49:38 +0000
committerwez@chromium.org <wez@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-03-01 22:49:38 +0000
commit6ae243f514f76b0e312ef44f5e43dcaf14d64138 (patch)
tree63a4f31988b0f2dc452bb329f20b1168a4c3cc45 /chrome/browser/net/url_info.cc
parent132566930a1da7373ba91e1c30aec0825d70590d (diff)
downloadchromium_src-6ae243f514f76b0e312ef44f5e43dcaf14d64138.zip
chromium_src-6ae243f514f76b0e312ef44f5e43dcaf14d64138.tar.gz
chromium_src-6ae243f514f76b0e312ef44f5e43dcaf14d64138.tar.bz2
Revert 185602
This broke the FixupFile and FixupRelativeFile unit_tests on Linux Tests. > Minor typos and style fixes (2). TBR=aa@chromium.org Review URL: https://codereview.chromium.org/12388054 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@185606 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/net/url_info.cc')
-rw-r--r--chrome/browser/net/url_info.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/chrome/browser/net/url_info.cc b/chrome/browser/net/url_info.cc
index ddba658..3ac9973 100644
--- a/chrome/browser/net/url_info.cc
+++ b/chrome/browser/net/url_info.cc
@@ -6,7 +6,6 @@
#include <ctype.h>
#include <math.h>
-
#include <algorithm>
#include <string>
@@ -137,6 +136,7 @@ void UrlInfo::RemoveFromQueue() {
queue_duration_ - kBoundary);
return;
}
+
// Make a custom linear histogram for the region from 0 to boundary.
static const size_t kBucketCount = 52;
static base::HistogramBase* histogram(NULL);
@@ -161,6 +161,7 @@ void UrlInfo::SetFoundState() {
UMA_HISTOGRAM_CUSTOM_TIMES("DNS.PrefetchResolution", resolve_duration_,
max_duration, TimeDelta::FromMinutes(15), 100);
}
+
sequence_number_ = sequence_counter++;
DLogResultsStats("DNS PrefetchFound");
}