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

Unified Diff: content/public/test/mock_download_manager.h

Issue 10913015: Reland DownloadManager::GetAllDownloads actually does now (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years, 3 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
« no previous file with comments | « content/public/test/download_test_observer.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/test/mock_download_manager.h
diff --git a/content/public/test/mock_download_manager.h b/content/public/test/mock_download_manager.h
index dd009dd12022c9e040b49d64016f6d625d799e9c..af7940ea4b80e94984e51d738d9f3980fa42fb52 100644
--- a/content/public/test/mock_download_manager.h
+++ b/content/public/test/mock_download_manager.h
@@ -25,10 +25,7 @@ class MockDownloadManager : public DownloadManager {
MOCK_METHOD1(SetDelegate, void(DownloadManagerDelegate* delegate));
MOCK_CONST_METHOD0(GetDelegate, DownloadManagerDelegate*());
MOCK_METHOD0(Shutdown, void());
- MOCK_METHOD2(GetTemporaryDownloads, void(const FilePath& dir_path,
- DownloadVector* result));
- MOCK_METHOD2(GetAllDownloads, void(const FilePath& dir_path,
- DownloadVector* result));
+ MOCK_METHOD1(GetAllDownloads, void(DownloadVector* downloads));
MOCK_METHOD2(SearchDownloads, void(const string16& query,
DownloadVector* result));
MOCK_METHOD1(Init, bool(BrowserContext* browser_context));
« no previous file with comments | « content/public/test/download_test_observer.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698