| 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_,
|
|
|