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

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

Issue 2703883003: Read and restore persisted slice info (Closed)
Patch Set: Created 3 years, 10 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/public/browser/download_manager.h ('k') | content/public/test/mock_download_manager.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/test/mock_download_item.h
diff --git a/content/public/test/mock_download_item.h b/content/public/test/mock_download_item.h
index 286176d8a4c2a19ea8df423b536072f35aed15bf..d99b6a9ce768bd4806eb36941125366d148d428c 100644
--- a/content/public/test/mock_download_item.h
+++ b/content/public/test/mock_download_item.h
@@ -88,6 +88,8 @@ class MockDownloadItem : public DownloadItem {
MOCK_CONST_METHOD0(AllDataSaved, bool());
MOCK_CONST_METHOD0(GetTotalBytes, int64_t());
MOCK_CONST_METHOD0(GetReceivedBytes, int64_t());
+ MOCK_CONST_METHOD0(GetReceivedSlices,
+ const std::vector<DownloadItem::ReceivedSlice>&());
MOCK_CONST_METHOD0(GetStartTime, base::Time());
MOCK_CONST_METHOD0(GetEndTime, base::Time());
MOCK_METHOD0(CanShowInFolder, bool());
« no previous file with comments | « content/public/browser/download_manager.h ('k') | content/public/test/mock_download_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698