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

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

Issue 12047039: download: Remove DownloadManager::MockDownloadOpenForTesting (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/browser/download/download_manager_impl.h
diff --git a/content/browser/download/download_manager_impl.h b/content/browser/download/download_manager_impl.h
index de7ad5d118ea91fff76237a9c11b46d3884f1f45..a9a73ed817c9b2e6f0ffd08f28130d68b28c4d1e 100644
--- a/content/browser/download/download_manager_impl.h
+++ b/content/browser/download/download_manager_impl.h
@@ -78,7 +78,6 @@ class CONTENT_EXPORT DownloadManagerImpl : public DownloadManager,
virtual BrowserContext* GetBrowserContext() const OVERRIDE;
virtual void CheckForHistoryFilesRemoval() OVERRIDE;
virtual DownloadItem* GetDownload(int id) OVERRIDE;
- virtual void MockDownloadOpenForTesting() OVERRIDE;
// For testing; specifically, accessed from TestFileErrorInjector.
void SetDownloadItemFactoryForTesting(
@@ -167,9 +166,6 @@ class CONTENT_EXPORT DownloadManagerImpl : public DownloadManager,
net::NetLog* net_log_;
- // Do we actually open downloads when requested? For testing purposes only.
- bool open_enabled_;
-
DISALLOW_COPY_AND_ASSIGN(DownloadManagerImpl);
};

Powered by Google App Engine
This is Rietveld 408576698