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

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

Issue 10950015: Shift "commit point" for when a download will no longer accept cancels. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Sync'd to LKGR. 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
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 34bcb54c9d608b720ef5c10f566bbb7988324759..99aa021cdb4ebe63ffbca1f9f0027ad014f390b2 100644
--- a/content/browser/download/mock_download_file.h
+++ b/content/browser/download/mock_download_file.h
@@ -32,7 +32,7 @@ class MockDownloadFile : virtual public content::DownloadFile {
MOCK_METHOD3(Rename, void(const FilePath& full_path,
bool overwrite_existing_file,
const RenameCompletionCallback& callback));
- MOCK_METHOD0(Detach, void());
+ MOCK_METHOD1(Detach, void(base::Closure));
MOCK_METHOD0(Cancel, void());
MOCK_METHOD0(Finish, void());
MOCK_METHOD0(AnnotateWithSourceInformation, void());
« no previous file with comments | « content/browser/download/download_net_log_parameters.cc ('k') | content/browser/download/mock_download_file.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698