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

Unified Diff: content/public/test/test_file_error_injector.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/public/test/test_file_error_injector.cc
diff --git a/content/public/test/test_file_error_injector.cc b/content/public/test/test_file_error_injector.cc
index 362d71086f2a90ad876fee1b7955b85e828bcba4..842213f4a9273a23194f94e12a12b4579d027b9c 100644
--- a/content/public/test/test_file_error_injector.cc
+++ b/content/public/test/test_file_error_injector.cc
@@ -29,7 +29,7 @@ class DownloadFileWithError: public DownloadFileImpl {
DownloadFileWithError(std::unique_ptr<DownloadSaveInfo> save_info,
const base::FilePath& default_download_directory,
std::unique_ptr<ByteStreamReader> byte_stream,
- const net::BoundNetLog& bound_net_log,
+ const net::NetLogWithSource& net_log,
base::WeakPtr<DownloadDestinationObserver> observer,
const TestFileErrorInjector::FileErrorInfo& error_info,
const base::Closure& ctor_callback,
@@ -98,7 +98,7 @@ DownloadFileWithError::DownloadFileWithError(
std::unique_ptr<DownloadSaveInfo> save_info,
const base::FilePath& default_download_directory,
std::unique_ptr<ByteStreamReader> byte_stream,
- const net::BoundNetLog& bound_net_log,
+ const net::NetLogWithSource& net_log,
base::WeakPtr<DownloadDestinationObserver> observer,
const TestFileErrorInjector::FileErrorInfo& error_info,
const base::Closure& ctor_callback,
@@ -106,7 +106,7 @@ DownloadFileWithError::DownloadFileWithError(
: DownloadFileImpl(std::move(save_info),
default_download_directory,
std::move(byte_stream),
- bound_net_log,
+ net_log,
observer),
error_info_(error_info),
destruction_callback_(dtor_callback) {
@@ -252,7 +252,7 @@ class DownloadFileWithErrorFactory : public DownloadFileFactory {
std::unique_ptr<DownloadSaveInfo> save_info,
const base::FilePath& default_download_directory,
std::unique_ptr<ByteStreamReader> byte_stream,
- const net::BoundNetLog& bound_net_log,
+ const net::NetLogWithSource& net_log,
base::WeakPtr<DownloadDestinationObserver> observer) override;
bool SetError(TestFileErrorInjector::FileErrorInfo error);
@@ -282,12 +282,12 @@ DownloadFile* DownloadFileWithErrorFactory::CreateFile(
std::unique_ptr<DownloadSaveInfo> save_info,
const base::FilePath& default_download_directory,
std::unique_ptr<ByteStreamReader> byte_stream,
- const net::BoundNetLog& bound_net_log,
+ const net::NetLogWithSource& net_log,
base::WeakPtr<DownloadDestinationObserver> observer) {
return new DownloadFileWithError(std::move(save_info),
default_download_directory,
std::move(byte_stream),
- bound_net_log,
+ net_log,
observer,
injected_error_,
construction_callback_,

Powered by Google App Engine
This is Rietveld 408576698