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

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

Issue 8203005: Implement chrome.experimental.downloads.onChanged (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: on_changed_stats_,OnChangedStat Created 9 years, 2 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/download_stats.cc
diff --git a/content/browser/download/download_stats.cc b/content/browser/download/download_stats.cc
index 856e62af9fa63b9d8c839e4e371edec791b2b125..4f7e039b0a234b85be99bcd0798e3bef2c5c4a3a 100644
--- a/content/browser/download/download_stats.cc
+++ b/content/browser/download/download_stats.cc
@@ -230,4 +230,8 @@ void RecordOpensOutstanding(int size) {
64/*num_buckets*/);
}
+void RecordOnChanged(int percent) {
+ UMA_HISTOGRAM_PERCENTAGE("Download.OnChanged", percent);
Randy Smith (Not in Mondays) 2011/10/18 21:15:32 I'd make this name a bit more detailed (Substantiv
+}
+
} // namespace download_stats

Powered by Google App Engine
This is Rietveld 408576698