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

Unified Diff: content/browser/download/download_file_unittest.cc

Issue 2351513002: net: rename BoundNetLog to NetLogWithSource (Closed)
Patch Set: REBASE Created 4 years, 3 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: content/browser/download/download_file_unittest.cc
diff --git a/content/browser/download/download_file_unittest.cc b/content/browser/download/download_file_unittest.cc
index 9ad3ae5b8bd4be7825db4caf8115c11ad107e9a0..8616b35c434d58d0209b726b8122675a82c67c05 100644
--- a/content/browser/download/download_file_unittest.cc
+++ b/content/browser/download/download_file_unittest.cc
@@ -101,7 +101,7 @@ class TestDownloadFileImpl : public DownloadFileImpl {
TestDownloadFileImpl(std::unique_ptr<DownloadSaveInfo> save_info,
const base::FilePath& default_downloads_directory,
std::unique_ptr<ByteStreamReader> stream,
- const net::BoundNetLog& bound_net_log,
+ const net::NetLogWithSource& bound_net_log,
base::WeakPtr<DownloadDestinationObserver> observer)
: DownloadFileImpl(std::move(save_info),
default_downloads_directory,
@@ -191,8 +191,8 @@ class DownloadFileTest : public testing::Test {
std::unique_ptr<DownloadSaveInfo> save_info(new DownloadSaveInfo());
download_file_.reset(new TestDownloadFileImpl(
std::move(save_info), base::FilePath(),
- std::unique_ptr<ByteStreamReader>(input_stream_), net::BoundNetLog(),
- observer_factory_.GetWeakPtr()));
+ std::unique_ptr<ByteStreamReader>(input_stream_),
+ net::NetLogWithSource(), observer_factory_.GetWeakPtr()));
EXPECT_CALL(*input_stream_, Read(_, _))
.WillOnce(Return(ByteStreamReader::STREAM_EMPTY))

Powered by Google App Engine
This is Rietveld 408576698