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

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

Issue 2799333002: Clear the received slices in DownloadItemImpl when etag changed. (Closed)
Patch Set: Address the uma issue. Created 3 years, 8 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 9bdb71271f2b9e427e0af7db5e5c8d53fb61a8fa..81d3b260ef61f6929fcdaf505b42e2ea8e4c3dd5 100644
--- a/content/browser/download/mock_download_file.h
+++ b/content/browser/download/mock_download_file.h
@@ -28,7 +28,9 @@ class MockDownloadFile : public DownloadFile {
virtual ~MockDownloadFile();
// DownloadFile functions.
- MOCK_METHOD1(Initialize, void(const InitializeCallback&));
+ MOCK_METHOD2(Initialize,
+ void(const InitializeCallback&,
+ const DownloadItem::ReceivedSlices& received_slices));
void AddByteStream(std::unique_ptr<ByteStreamReader> stream_reader,
int64_t offset,
int64_t length) override;
« no previous file with comments | « content/browser/download/download_manager_impl_unittest.cc ('k') | content/browser/download/mock_download_file.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698