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

Unified Diff: content/browser/download/drag_download_file.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: content/browser/download/drag_download_file.cc
diff --git a/content/browser/download/drag_download_file.cc b/content/browser/download/drag_download_file.cc
index 7cc13c455a0ec652172d7abc142155e4be2b0fd6..9ad116cc99055a0af99237821be369db53164079 100644
--- a/content/browser/download/drag_download_file.cc
+++ b/content/browser/download/drag_download_file.cc
@@ -139,8 +139,8 @@ void DragDownloadFile::InitiateDownload() {
false,
save_info,
web_contents_);
- download_stats::RecordDownloadCount(
- download_stats::INITIATED_BY_DRAG_N_DROP_COUNT);
+ download_stats::RecordDownloadSource(
cbentzel 2012/02/06 19:57:29 Most of the other cases record prior to doing the
Randy Smith (Not in Mondays) 2012/02/07 18:20:18 Done.
+ download_stats::INITIATED_BY_DRAG_N_DROP);
}
void DragDownloadFile::DownloadCompleted(bool is_successful) {

Powered by Google App Engine
This is Rietveld 408576698