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

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

Issue 2794683002: set content length limit if half open range request fails (Closed)
Patch Set: new comments Created 3 years, 9 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_worker.cc ('k') | content/browser/download/parallel_download_job.cc » ('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 1bae2b7ead8e5076ffbad77851dd93f60fa73687..9bdb71271f2b9e427e0af7db5e5c8d53fb61a8fa 100644
--- a/content/browser/download/mock_download_file.h
+++ b/content/browser/download/mock_download_file.h
@@ -51,6 +51,7 @@ class MockDownloadFile : public DownloadFile {
const RenameCompletionCallback& callback));
MOCK_METHOD0(Detach, void());
MOCK_METHOD0(Cancel, void());
+ MOCK_METHOD1(SetPotentialFileLength, void(int64_t length));
MOCK_METHOD0(Finish, void());
MOCK_CONST_METHOD0(FullPath, const base::FilePath&());
MOCK_CONST_METHOD0(InProgress, bool());
« no previous file with comments | « content/browser/download/download_worker.cc ('k') | content/browser/download/parallel_download_job.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698