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

Unified Diff: content/public/test/test_file_error_injector.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/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..be69c4090b894f6bf1a9ce96e89295a1bd3388c9 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& bound_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& bound_net_log,
base::WeakPtr<DownloadDestinationObserver> observer,
const TestFileErrorInjector::FileErrorInfo& error_info,
const base::Closure& ctor_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& bound_net_log,
base::WeakPtr<DownloadDestinationObserver> observer) override;
bool SetError(TestFileErrorInjector::FileErrorInfo error);
@@ -282,7 +282,7 @@ 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& bound_net_log,
base::WeakPtr<DownloadDestinationObserver> observer) {
return new DownloadFileWithError(std::move(save_info),
default_download_directory,

Powered by Google App Engine
This is Rietveld 408576698