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

Unified Diff: chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc

Issue 2705283003: Added last_access_time to DownloadItem and History DB (Closed)
Patch Set: rebase origin/master 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: chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc
diff --git a/chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc b/chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc
index ec5b4b1bb99a162c1ce377572bbffbef00bfaf7b..025967eae3f96a99ea5cfef8fb18a7aa3fb508f2 100644
--- a/chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc
+++ b/chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc
@@ -432,7 +432,8 @@ class DownloadExtensionTest : public ExtensionApiTest {
(history_info[i].state != content::DownloadItem::CANCELLED
? content::DOWNLOAD_INTERRUPT_REASON_NONE
: content::DOWNLOAD_INTERRUPT_REASON_USER_CANCELED),
- false, // opened
+ false, // opened
+ current, // last_access_time
std::vector<DownloadItem::ReceivedSlice>());
items->push_back(item);
}
« no previous file with comments | « chrome/browser/download/download_ui_controller_unittest.cc ('k') | chrome/browser/ntp_snippets/fake_download_item.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698