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

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

Issue 11150027: Handle the case where IAttachmentExecute::Save() deletes a downloaded file. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase + Address comments + Update strings Created 8 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
« no previous file with comments | « content/browser/download/download_stats.h ('k') | content/browser/safe_util_win.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/download/mock_download_file.h
diff --git a/content/browser/download/mock_download_file.h b/content/browser/download/mock_download_file.h
index ae85b5ef7d775d513d39e054dfca89cae03c3de7..f7c2477b2a4404fde4635b597a8f12ad93d1feb2 100644
--- a/content/browser/download/mock_download_file.h
+++ b/content/browser/download/mock_download_file.h
@@ -32,10 +32,9 @@ class MockDownloadFile : virtual public DownloadFile {
MOCK_METHOD3(Rename, void(const FilePath& full_path,
bool overwrite_existing_file,
const RenameCompletionCallback& callback));
- MOCK_METHOD1(Detach, void(base::Closure));
+ MOCK_METHOD1(Detach, void(const DetachCompletionCallback& callback));
MOCK_METHOD0(Cancel, void());
MOCK_METHOD0(Finish, void());
- MOCK_METHOD0(AnnotateWithSourceInformation, void());
MOCK_CONST_METHOD0(FullPath, FilePath());
MOCK_CONST_METHOD0(InProgress, bool());
MOCK_CONST_METHOD0(BytesSoFar, int64());
« no previous file with comments | « content/browser/download/download_stats.h ('k') | content/browser/safe_util_win.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698