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()); |