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

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

Issue 10704052: Download filename determination refactor (3/3) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address comments Created 8 years, 5 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/test/mock_download_manager.h
diff --git a/content/public/test/mock_download_manager.h b/content/public/test/mock_download_manager.h
index 0f50d610bd12086bb4e0a1bd5a8309cdfef86d9c..3d5056d3e71f80f7f9316fabf29d4fd47f9654d0 100644
--- a/content/public/test/mock_download_manager.h
+++ b/content/public/test/mock_download_manager.h
@@ -68,21 +68,13 @@ class MockDownloadManager : public content::DownloadManager {
int64 db_handle));
MOCK_CONST_METHOD0(InProgressCount, int());
MOCK_CONST_METHOD0(GetBrowserContext, content::BrowserContext*());
- MOCK_METHOD0(LastDownloadPath, FilePath());
- MOCK_METHOD0(ClearLastDownloadPath, void());
- MOCK_METHOD2(FileSelected, void(const FilePath& path, int32 download_id));
- MOCK_METHOD1(FileSelectionCanceled, void(int32 download_id));
- MOCK_METHOD1(RestartDownload, void(int32 download_id));
MOCK_METHOD0(CheckForHistoryFilesRemoval, void());
MOCK_METHOD1(GetDownloadItem, content::DownloadItem*(int id));
MOCK_METHOD1(GetDownload, content::DownloadItem*(int id));
MOCK_METHOD1(SavePageDownloadFinished, void(content::DownloadItem* download));
MOCK_METHOD1(GetActiveDownloadItem, content::DownloadItem*(int id));
MOCK_METHOD0(GenerateFileHash, bool());
- MOCK_METHOD2(ContinueDownloadWithPath, void(content::DownloadItem* download,
- const FilePath& chosen_file));
MOCK_METHOD1(GetActiveDownload, content::DownloadItem*(int32 download_id));
- MOCK_METHOD1(SetFileManager, void(DownloadFileManager* file_manager));
protected:
virtual ~MockDownloadManager();

Powered by Google App Engine
This is Rietveld 408576698