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

Unified Diff: chrome/browser/download/download_status_updater.h

Issue 10827207: Mountain Lion: use the system download progress. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fixed up and ready to go Created 8 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/download_status_updater.h
diff --git a/chrome/browser/download/download_status_updater.h b/chrome/browser/download/download_status_updater.h
index 162ec1beb5c114cf5a7c325c7c5c5b1cdcbd3dc2..c5b79da7f32c15c8c88de58042d18a4bb4a4f8dd 100644
--- a/chrome/browser/download/download_status_updater.h
+++ b/chrome/browser/download/download_status_updater.h
@@ -48,6 +48,11 @@ class DownloadStatusUpdater
// Update the internal state tracking an item.
void UpdateItem(content::DownloadItem* download);
+ // Updates the platform-specific progress for individual items.
+ void UpdateDownloadProgressForItemAdded(content::DownloadItem* download);
+ void UpdateDownloadProgressForItemProgressed(content::DownloadItem* download);
+ void UpdateDownloadProgressForItemRemoved(content::DownloadItem* download);
Nico 2012/08/08 20:00:59 Maybe add a small test to check these get called a
+
std::set<content::DownloadManager*> managers_;
std::set<content::DownloadItem*> items_;

Powered by Google App Engine
This is Rietveld 408576698