summaryrefslogtreecommitdiffstats
path: root/chrome/browser/download/download_browsertest.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/download/download_browsertest.cc')
-rw-r--r--chrome/browser/download/download_browsertest.cc9
1 files changed, 7 insertions, 2 deletions
diff --git a/chrome/browser/download/download_browsertest.cc b/chrome/browser/download/download_browsertest.cc
index 7c63cb7..5ec91a2 100644
--- a/chrome/browser/download/download_browsertest.cc
+++ b/chrome/browser/download/download_browsertest.cc
@@ -1655,7 +1655,12 @@ IN_PROC_BROWSER_TEST_F(DownloadTest, NewWindow) {
IN_PROC_BROWSER_TEST_F(DownloadTest, DownloadHistoryCheck) {
GURL download_url(URLRequestSlowDownloadJob::kKnownSizeUrl);
- base::FilePath file(net::GenerateFileName(download_url, "", "", "", "", ""));
+ base::FilePath file(net::GenerateFileName(download_url,
+ std::string(),
+ std::string(),
+ std::string(),
+ std::string(),
+ std::string()));
// We use the server so that we can get a redirect and test url_chain
// persistence.
@@ -2627,7 +2632,7 @@ IN_PROC_BROWSER_TEST_F(DownloadTest, LoadURLExternallyReferrerPolicy) {
// Check that the file contains the expected referrer.
base::FilePath file(download_items[0]->GetFullPath());
- std::string expected_contents = test_server()->GetURL("").spec();
+ std::string expected_contents = test_server()->GetURL(std::string()).spec();
ASSERT_TRUE(VerifyFile(file, expected_contents, expected_contents.length()));
}