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

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

Issue 8203005: Implement chrome.experimental.downloads.onChanged (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
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/download_stats.h
diff --git a/content/browser/download/download_stats.h b/content/browser/download/download_stats.h
index f4dc5fcb07488c36dac86e3ca005c93839e08268..9ca27ed42d1f848715c9911bf2cd905fef0b77a9 100644
--- a/content/browser/download/download_stats.h
+++ b/content/browser/download/download_stats.h
@@ -129,6 +129,10 @@ void RecordClearAllSize(int size);
// Record the number of completed unopened downloads when a download is opened.
void RecordOpensOutstanding(int size);
+// Record how many DownloadItem::Observer::OnDownloadUpdated are irrelevant to
+// the extensions api compared to the number that are relevant.
+CONTENT_EXPORT void RecordOnChanged(int percent);
+
} // namespace download_stats
#endif // CONTENT_BROWSER_DOWNLOAD_DOWNLOAD_STATS_H_

Powered by Google App Engine
This is Rietveld 408576698