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

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

Issue 8381009: Const-ify DownloadStatusUpdaterDelegate methods. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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
« no previous file with comments | « content/browser/download/download_manager.cc ('k') | content/browser/download/download_status_updater.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/download/download_status_updater.h
diff --git a/content/browser/download/download_status_updater.h b/content/browser/download/download_status_updater.h
index 410fa2dec58f9fd433213edd27b6e92f5952f5be..8f5c8e8461bf86100f7d0479904bf6bdf1773c5d 100644
--- a/content/browser/download/download_status_updater.h
+++ b/content/browser/download/download_status_updater.h
@@ -27,11 +27,11 @@ class CONTENT_EXPORT DownloadStatusUpdater
// If the progress is known (i.e. we know the final size of all downloads),
// returns true and puts a percentage (in range [0-1]) in |progress|. Also
// returns the number of current downloads in |download_count|.
- bool GetProgress(float* progress, int* download_count);
+ bool GetProgress(float* progress, int* download_count) const;
private:
// Returns the number of downloads that are in progress.
- int64 GetInProgressDownloadCount();
+ int64 GetInProgressDownloadCount() const;
typedef std::set<DownloadStatusUpdaterDelegate*> DelegateSet;
DelegateSet delegates_;
« no previous file with comments | « content/browser/download/download_manager.cc ('k') | content/browser/download/download_status_updater.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698