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

Unified Diff: chrome/browser/ntp_snippets/fake_download_item.cc

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 | « chrome/browser/ntp_snippets/fake_download_item.h ('k') | components/history/content/browser/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ntp_snippets/fake_download_item.cc
diff --git a/chrome/browser/ntp_snippets/fake_download_item.cc b/chrome/browser/ntp_snippets/fake_download_item.cc
index ef06a2849547ffc6e313fe6473858a67a4737cf4..2f2db42ae4ebdc0cd0ce393e18b05dbf26458734 100644
--- a/chrome/browser/ntp_snippets/fake_download_item.cc
+++ b/chrome/browser/ntp_snippets/fake_download_item.cc
@@ -326,6 +326,13 @@ int64_t FakeDownloadItem::GetReceivedBytes() const {
return 1;
}
+const std::vector<DownloadItem::ReceivedSlice>&
+FakeDownloadItem::GetReceivedSlices() const {
+ NOTREACHED();
+ static const std::vector<DownloadItem::ReceivedSlice> slices;
+ return slices;
+}
+
bool FakeDownloadItem::CanShowInFolder() {
NOTREACHED();
return true;
« no previous file with comments | « chrome/browser/ntp_snippets/fake_download_item.h ('k') | components/history/content/browser/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698