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

Unified Diff: content/browser/download/download_status_updater_delegate.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
Index: content/browser/download/download_status_updater_delegate.h
diff --git a/content/browser/download/download_status_updater_delegate.h b/content/browser/download/download_status_updater_delegate.h
index c80e43251ddf406a4cefc4fd66c8a6d4e48a1b43..b48c3ff3753dc7d79529a48f115d2d42e6141bb1 100644
--- a/content/browser/download/download_status_updater_delegate.h
+++ b/content/browser/download/download_status_updater_delegate.h
@@ -12,16 +12,16 @@ class CONTENT_EXPORT DownloadStatusUpdaterDelegate {
public:
// Returns true if the progress is known (i.e. we know the final size
// of all downloads).
- virtual bool IsDownloadProgressKnown() = 0;
+ virtual bool IsDownloadProgressKnown() const = 0;
// Returns the number of downloads that are in progress.
- virtual int64 GetInProgressDownloadCount() = 0;
+ virtual int64 GetInProgressDownloadCount() const = 0;
// Returns the amount of received data, in bytes.
- virtual int64 GetReceivedDownloadBytes() = 0;
+ virtual int64 GetReceivedDownloadBytes() const = 0;
// Returns the final size of all downloads, in bytes.
- virtual int64 GetTotalDownloadBytes() = 0;
+ virtual int64 GetTotalDownloadBytes() const = 0;
protected:
virtual ~DownloadStatusUpdaterDelegate() {}
« no previous file with comments | « content/browser/download/download_status_updater.cc ('k') | content/browser/download/download_status_updater_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698