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

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

Issue 11363222: Persist download interrupt reason, both target and current paths, and url_chain. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 1 month 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_unittest.cc
diff --git a/chrome/browser/extensions/api/downloads/downloads_api_unittest.cc b/chrome/browser/extensions/api/downloads/downloads_api_unittest.cc
index 702d89ebc291b542148129a5a750981d75347591..13dc072a8844d67a671d9d9dfb77c04c5fbec642 100644
--- a/chrome/browser/extensions/api/downloads/downloads_api_unittest.cc
+++ b/chrome/browser/extensions/api/downloads/downloads_api_unittest.cc
@@ -362,10 +362,12 @@ class DownloadExtensionTest : public ExtensionApiTest {
for (size_t i = 0; i < count; ++i) {
DownloadPersistentStoreInfo entry(
downloads_directory().Append(history_info[i].filename),
- GURL(), GURL(), // URL, referrer
+ downloads_directory().Append(history_info[i].filename),
+ std::vector<GURL>(), GURL(), // URL Chain, referrer
current, current, // start_time, end_time
1, 1, // received_bytes, total_bytes
history_info[i].state, // state
+ content::DOWNLOAD_INTERRUPT_REASON_NONE,
i + 1, // db_handle
false); // opened
entries.push_back(entry);

Powered by Google App Engine
This is Rietveld 408576698