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

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

Issue 2705283003: Added last_access_time to DownloadItem and History DB (Closed)
Patch Set: rebase + Java accessor 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
Index: content/public/test/mock_download_manager.h
diff --git a/content/public/test/mock_download_manager.h b/content/public/test/mock_download_manager.h
index 1bf01642d932b85c05767ee61486bc01b2a1e4ec..1db318251941a4406d64f0afb213766201e1fe77 100644
--- a/content/public/test/mock_download_manager.h
+++ b/content/public/test/mock_download_manager.h
@@ -52,6 +52,7 @@ class MockDownloadManager : public DownloadManager {
DownloadDangerType danger_type;
DownloadInterruptReason interrupt_reason;
bool opened;
+ base::Time last_access_time;
std::vector<DownloadItem::ReceivedSlice> received_slices;
CreateDownloadItemAdapter(
@@ -77,6 +78,7 @@ class MockDownloadManager : public DownloadManager {
DownloadDangerType danger_type,
DownloadInterruptReason interrupt_reason,
bool opened,
+ const base::Time& last_access_time,
const std::vector<DownloadItem::ReceivedSlice>& received_slices);
// Required by clang compiler.
CreateDownloadItemAdapter(const CreateDownloadItemAdapter& rhs);
@@ -138,6 +140,7 @@ class MockDownloadManager : public DownloadManager {
DownloadDangerType danger_type,
DownloadInterruptReason interrupt_reason,
bool opened,
+ const base::Time& last_access_time,
const std::vector<DownloadItem::ReceivedSlice>& received_slices) override;
MOCK_METHOD1(MockCreateDownloadItem,

Powered by Google App Engine
This is Rietveld 408576698