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

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

Issue 2351513002: net: rename BoundNetLog to NetLogWithSource (Closed)
Patch Set: one more fix, content bound_net_log_ 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..347ef87d5455803561a3e0f1c595d7cb83d4a641 100644
--- a/content/browser/download/download_file_unittest.cc
+++ b/content/browser/download/download_file_unittest.cc
@@ -101,12 +101,12 @@ 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& net_log,
base::WeakPtr<DownloadDestinationObserver> observer)
: DownloadFileImpl(std::move(save_info),
default_downloads_directory,
std::move(stream),
- bound_net_log,
+ net_log,
observer) {}
protected:
@@ -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