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

Unified Diff: content/browser/renderer_host/duplicate_content_resource_handler.cc

Issue 10831201: I added another histogram into the DuplicateContentResourceHandler. The histogram is meant to keep … (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: Created 8 years, 4 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/renderer_host/duplicate_content_resource_handler.cc
===================================================================
--- content/browser/renderer_host/duplicate_content_resource_handler.cc (revision 150428)
+++ content/browser/renderer_host/duplicate_content_resource_handler.cc (working copy)
@@ -117,6 +117,8 @@
UMA_HISTOGRAM_BOOLEAN("Duplicate.Hits", did_match_contents);
UMA_HISTOGRAM_BOOLEAN("Duplicate.HitsSameUrl",
did_match_contents && did_match_contents_and_url);
+ UMA_HISTOGRAM_ENUMERATION("Duplicate.ResourceType.All", resource_type_,
+ ResourceType::LAST_TYPE);
if (did_match_contents && !did_match_contents_and_url) {
content_and_url_matches->insert(hashed_with_url);
UMA_HISTOGRAM_CUSTOM_COUNTS("Duplicate.Size.HashHitUrlMiss", bytes_read_,
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698