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

Unified Diff: content/public/browser/download_manager.h

Issue 11941015: Move OpenItem/ShowItemInFolder from ContentBrowserClient to DownloadManagerDelegate (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: _ Created 7 years, 11 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/public/browser/download_manager.h
diff --git a/content/public/browser/download_manager.h b/content/public/browser/download_manager.h
index fa98dd9c6a3ad2998403164f209930fbcad40d84..14dfac47ff6ec6aeb52b3124edbcd127db8105dc 100644
--- a/content/public/browser/download_manager.h
+++ b/content/public/browser/download_manager.h
@@ -166,6 +166,9 @@ class CONTENT_EXPORT DownloadManager
// it is or state it's in.
virtual DownloadItem* GetDownload(int id) = 0;
+ // Prohibits OpenDownload() from actually opening downloads for testing.
+ virtual void MockDownloadOpenForTesting() = 0;
+
protected:
virtual ~DownloadManager() {}

Powered by Google App Engine
This is Rietveld 408576698