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

Unified Diff: chrome/browser/download/download_throttling_resource_handler.cc

Issue 9316116: Isolate initiation counts for downloads to their own histograms and improve (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 11 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
Index: chrome/browser/download/download_throttling_resource_handler.cc
diff --git a/chrome/browser/download/download_throttling_resource_handler.cc b/chrome/browser/download/download_throttling_resource_handler.cc
index 85bc6e19cbaf39fb247f93d8ee8c385c4db1b183..38e7ab2e1ce6bad71e7c2dd3f293cbc55cfdcb1b 100644
--- a/chrome/browser/download/download_throttling_resource_handler.cc
+++ b/chrome/browser/download/download_throttling_resource_handler.cc
@@ -134,8 +134,7 @@ void DownloadThrottlingResourceHandler::OnRequestClosed() {
}
void DownloadThrottlingResourceHandler::ContinueDownload(bool allow) {
- download_util::RecordDownloadCount(
- download_util::INITIATED_BY_NAVIGATION_COUNT);
+ download_util::RecordDownloadSource(download_util::INITIATED_BY_NAVIGATION);
cbentzel 2012/02/06 19:57:29 Should this be done here or at the BufferedResourc
Randy Smith (Not in Mondays) 2012/02/07 18:20:18 Depends how we're thinking of the stats. I'm more
if (request_closed_)
return;

Powered by Google App Engine
This is Rietveld 408576698