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

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

Issue 2886933003: Use stricter type checking in UMA_HISTOGRAM_ENUMERATION (Closed)
Patch Set: simplify type checking Created 3 years, 5 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/gpu/gpu_process_host.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/download/download_stats.cc
diff --git a/content/browser/download/download_stats.cc b/content/browser/download/download_stats.cc
index 1289d61ad3002657d287fd821831f9aae6ba5852..88ba7d9a99408f0a4a8958997c8ac1113c5a1a1b 100644
--- a/content/browser/download/download_stats.cc
+++ b/content/browser/download/download_stats.cc
@@ -924,7 +924,7 @@ void RecordSavePackageEvent(SavePackageEvent event) {
}
void RecordOriginStateOnResumption(bool is_partial,
- int state) {
+ OriginStateOnResumption state) {
if (is_partial)
UMA_HISTOGRAM_ENUMERATION("Download.OriginStateOnPartialResumption", state,
ORIGIN_STATE_ON_RESUMPTION_MAX);
« no previous file with comments | « content/browser/download/download_stats.h ('k') | content/browser/gpu/gpu_process_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698