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

Unified Diff: chrome/browser/safe_browsing/incident_reporting/last_download_finder_unittest.cc

Issue 1924473003: [Downloads] Use the initiating StoragePartition for resumption. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix typo in comment Created 4 years, 7 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/safe_browsing/incident_reporting/last_download_finder_unittest.cc
diff --git a/chrome/browser/safe_browsing/incident_reporting/last_download_finder_unittest.cc b/chrome/browser/safe_browsing/incident_reporting/last_download_finder_unittest.cc
index c3a6f73472ba56ba1d3a5c85611ed53aafa35f32..61eddc61f55d9d04efcddebd713d76f94c7863b3 100644
--- a/chrome/browser/safe_browsing/incident_reporting/last_download_finder_unittest.cc
+++ b/chrome/browser/safe_browsing/incident_reporting/last_download_finder_unittest.cc
@@ -273,7 +273,8 @@ class LastDownloadFinderTest : public testing::Test {
return history::DownloadRow(
base::FilePath(file_path), base::FilePath(file_path),
std::vector<GURL>(1, GURL("http://www.google.com")), // url_chain
- GURL("http://referrer.example.com/"), // referrer
+ GURL("http://referrer.example.com/"), // referrer
+ GURL("http://site-url.example.com/"), // site instance URL
GURL("http://tab-url.example.com/"), // tab URL
GURL("http://tab-referrer.example.com/"), // tab referrer URL
std::string(), // HTTP method
@@ -292,9 +293,9 @@ class LastDownloadFinderTest : public testing::Test {
std::string(), // hash
download_id_++, // id
base::GenerateGUID(), // GUID
- false, // download_opened
- std::string(), // ext_id
- std::string()); // ext_name
+ false, // download_opened
+ std::string(), // ext_id
+ std::string()); // ext_name
}
content::TestBrowserThreadBundle browser_thread_bundle_;

Powered by Google App Engine
This is Rietveld 408576698