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

Unified Diff: content/browser/download/download_stats.cc

Issue 9639001: Move download interrupt reasons to content\public (the enum that's used by chrome). The rest keep i… (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: nits Created 8 years, 9 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 | « content/browser/download/download_stats.h ('k') | content/browser/download/interrupt_reason_values.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/download/download_stats.cc
===================================================================
--- content/browser/download/download_stats.cc (revision 125463)
+++ content/browser/download/download_stats.cc (working copy)
@@ -7,7 +7,7 @@
#include "base/metrics/histogram.h"
#include "base/string_util.h"
#include "content/browser/download/download_resource_handler.h"
-#include "content/browser/download/interrupt_reasons.h"
+#include "content/public/browser/download_interrupt_reasons.h"
namespace download_stats {
@@ -15,7 +15,7 @@
// are all positive (since histograms expect positive sample values).
const int kAllInterruptReasonCodes[] = {
#define INTERRUPT_REASON(label, value) (value),
-#include "content/browser/download/interrupt_reason_values.h"
+#include "content/public/browser/download_interrupt_reason_values.h"
#undef INTERRUPT_REASON
};
@@ -41,7 +41,7 @@
256);
}
-void RecordDownloadInterrupted(InterruptReason reason,
+void RecordDownloadInterrupted(content::DownloadInterruptReason reason,
int64 received,
int64 total) {
RecordDownloadCount(INTERRUPTED_COUNT);
« no previous file with comments | « content/browser/download/download_stats.h ('k') | content/browser/download/interrupt_reason_values.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698