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

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

Issue 2737723002: Downloads : Last access time update for NTP, duplicate infobar and notifications (Closed)
Patch Set: Removed changes for duplicate infobar Created 3 years, 9 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/ntp_snippets/download_suggestions_provider_unittest.cc
diff --git a/chrome/browser/ntp_snippets/download_suggestions_provider_unittest.cc b/chrome/browser/ntp_snippets/download_suggestions_provider_unittest.cc
index 932098de3b5447c11c99ec04fc6a34310a90d7bb..8e60417198b10007dc337afd938006625489fda6 100644
--- a/chrome/browser/ntp_snippets/download_suggestions_provider_unittest.cc
+++ b/chrome/browser/ntp_snippets/download_suggestions_provider_unittest.cc
@@ -153,6 +153,7 @@ std::unique_ptr<FakeDownloadItem> CreateDummyAssetDownload(int id) {
std::unique_ptr<FakeDownloadItem> item = base::MakeUnique<FakeDownloadItem>();
item->SetId(id);
std::string id_string = base::IntToString(id);
+ item->SetGuid("XYZ-100032-EFZBDF-13323-PXZ" + id_string);
item->SetTargetFilePath(
base::FilePath::FromUTF8Unsafe("folder/file" + id_string + ".mhtml"));
item->SetURL(GURL("http://download.com/redirected" + id_string));

Powered by Google App Engine
This is Rietveld 408576698