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

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: Merged to TOT. 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 5d9f87f70d2ea8adc159440cc8c0ffff9f0f314f..2b50b4f328a2f9544375d8a815e32366ca243e2f 100644
--- a/content/browser/download/mock_download_manager_delegate.h
+++ b/content/browser/download/mock_download_manager_delegate.h
@@ -25,8 +25,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;
« no previous file with comments | « content/browser/download/download_manager.cc ('k') | content/browser/download/mock_download_manager_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698