summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgcasto@chromium.org <gcasto@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-05-05 00:03:56 +0000
committergcasto@chromium.org <gcasto@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-05-05 00:03:56 +0000
commitcc1f6dd806b23022e3636a9839bbbec4dd71aa61 (patch)
tree1dc62414c0e8b986089b58f6480cd21ed4e6c306
parent182dcd7690dc234f2090ff73e9d99abf525fde8d (diff)
downloadchromium_src-cc1f6dd806b23022e3636a9839bbbec4dd71aa61.zip
chromium_src-cc1f6dd806b23022e3636a9839bbbec4dd71aa61.tar.gz
chromium_src-cc1f6dd806b23022e3636a9839bbbec4dd71aa61.tar.bz2
Merge 84137 - Add histogram to track the number of pages that we try to classify to analysis easier.
BUG=None TEST=Ran unit tests Review URL: http://codereview.chromium.org/6931003 TBR=gcasto@chromium.org Review URL: http://codereview.chromium.org/6927037 git-svn-id: svn://svn.chromium.org/chrome/branches/742/src@84164 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r--chrome/browser/safe_browsing/client_side_detection_host.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/chrome/browser/safe_browsing/client_side_detection_host.cc b/chrome/browser/safe_browsing/client_side_detection_host.cc
index 005337f..26d241a 100644
--- a/chrome/browser/safe_browsing/client_side_detection_host.cc
+++ b/chrome/browser/safe_browsing/client_side_detection_host.cc
@@ -63,7 +63,9 @@ class ClientSideDetectionHost::ShouldClassifyUrlRequest
void Start() {
DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI));
+
// We start by doing some simple checks that can run on the UI thread.
+ UMA_HISTOGRAM_COUNTS("SBClientPhishing.ClassificationStart", 1);
// Only classify [X]HTML documents.
if (params_.contents_mime_type != "text/html" &&