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

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

Issue 7664019: Move download UMA functions to their own file in content. Also fire the chrome-only notification ... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 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
Index: chrome/browser/download/drag_download_file.cc
===================================================================
--- chrome/browser/download/drag_download_file.cc (revision 96993)
+++ chrome/browser/download/drag_download_file.cc (working copy)
@@ -6,10 +6,10 @@
#include "base/file_util.h"
#include "base/message_loop.h"
-#include "chrome/browser/download/download_util.h"
#include "chrome/browser/profiles/profile.h"
#include "content/browser/browser_thread.h"
#include "content/browser/download/download_item.h"
+#include "content/browser/download/download_stats.h"
#include "content/browser/tab_contents/tab_contents.h"
#include "net/base/file_stream.h"
@@ -128,8 +128,8 @@
referrer_encoding_,
save_info,
tab_contents_);
- download_util::RecordDownloadCount(
- download_util::INITIATED_BY_DRAG_N_DROP_COUNT);
+ download_stats::RecordDownloadCount(
+ download_stats::INITIATED_BY_DRAG_N_DROP_COUNT);
}
void DragDownloadFile::DownloadCompleted(bool is_successful) {

Powered by Google App Engine
This is Rietveld 408576698