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

Unified Diff: chrome/browser/download/download_browsertest.cc

Issue 8404049: Added member data to classes to support download resumption. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rearranged structures for greater consistency. Created 9 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/download/download_browsertest.cc
diff --git a/chrome/browser/download/download_browsertest.cc b/chrome/browser/download/download_browsertest.cc
index 3c075ead6fc51ba9fe5fcf2fdab9849841fad9fd..764dac80571fcfd5ec7e358b03efe94d210c81bf 100644
--- a/chrome/browser/download/download_browsertest.cc
+++ b/chrome/browser/download/download_browsertest.cc
@@ -1565,6 +1565,7 @@ IN_PROC_BROWSER_TEST_F(DownloadTest, SearchDownloads) {
DownloadPersistentStoreInfo population_entries[] = {
DownloadPersistentStoreInfo(
FilePath(FILE_PATH_LITERAL("/path/to/file")),
+ FilePath(),
GURL("http://www.google.com/fantasy_download"),
GURL(""),
current - base::TimeDelta::FromMinutes(5),
@@ -1573,9 +1574,14 @@ IN_PROC_BROWSER_TEST_F(DownloadTest, SearchDownloads) {
128,
DownloadItem::COMPLETE,
1,
- false),
+ false,
+ "",
+ "",
+ "",
+ DOWNLOAD_INTERRUPT_REASON_NONE),
DownloadPersistentStoreInfo(
FilePath(FILE_PATH_LITERAL("/path/to/another_file")),
+ FilePath(),
GURL("http://www.google.com/reality_download"),
GURL(""),
current - base::TimeDelta::FromMinutes(10),
@@ -1584,9 +1590,14 @@ IN_PROC_BROWSER_TEST_F(DownloadTest, SearchDownloads) {
256,
DownloadItem::COMPLETE,
2,
- false),
+ false,
+ "",
+ "",
+ "",
+ DOWNLOAD_INTERRUPT_REASON_NONE),
DownloadPersistentStoreInfo(
FilePath(FILE_PATH_LITERAL("/different_path/to/another_file")),
+ FilePath(),
GURL("http://www.izzle.com/not_really_a_download"),
GURL(""),
current - base::TimeDelta::FromMinutes(15),
@@ -1595,7 +1606,11 @@ IN_PROC_BROWSER_TEST_F(DownloadTest, SearchDownloads) {
512,
DownloadItem::COMPLETE,
3,
- true)
+ true,
+ "",
+ "",
+ "",
+ DOWNLOAD_INTERRUPT_REASON_NONE)
};
std::vector<DownloadPersistentStoreInfo> entries(
population_entries, population_entries + arraysize(population_entries));
« no previous file with comments | « no previous file | chrome/browser/download/download_item_unittest.cc » ('j') | content/browser/download/base_file.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698