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

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

Issue 8414007: Rearrange Should*Download delegate calls to be more useful and intuitive. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Tweaked comment. 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/mock_download_manager_delegate.h
diff --git a/content/browser/download/mock_download_manager_delegate.h b/content/browser/download/mock_download_manager_delegate.h
index b2fbfc2e6f76f3c02d2641fcd3f2e9e9cbd00bdf..5e06b3d210c6b093180bfe5d395c334437fa58f4 100644
--- a/content/browser/download/mock_download_manager_delegate.h
+++ b/content/browser/download/mock_download_manager_delegate.h
@@ -21,8 +21,8 @@ class MockDownloadManagerDelegate : public content::DownloadManagerDelegate {
FilePath* intermediate_path) OVERRIDE;
virtual TabContents* GetAlternativeTabContentsToNotifyForDownload() OVERRIDE;
virtual bool ShouldOpenFileBasedOnExtension(const FilePath& path) OVERRIDE;
- virtual bool ShouldOpenDownload(DownloadItem* item) OVERRIDE;
virtual bool ShouldCompleteDownload(DownloadItem* item) OVERRIDE;
+ virtual bool ShouldOpenDownload(DownloadItem* item) OVERRIDE;
virtual bool GenerateFileHash() OVERRIDE;
virtual void OnResponseCompleted(DownloadItem* item,
const std::string& hash) OVERRIDE;

Powered by Google App Engine
This is Rietveld 408576698