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

Unified Diff: content/browser/download/download_browsertest.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_browsertest.cc
diff --git a/content/browser/download/download_browsertest.cc b/content/browser/download/download_browsertest.cc
index a4cea828ff8f7e9454606fb21391c6b4f0825657..17f71025dfd5a88b7794c401685fed300cb38f0f 100644
--- a/content/browser/download/download_browsertest.cc
+++ b/content/browser/download/download_browsertest.cc
@@ -128,7 +128,7 @@ class DownloadFileWithDelay : public DownloadFileImpl {
std::unique_ptr<DownloadSaveInfo> save_info,
const base::FilePath& default_download_directory,
std::unique_ptr<ByteStreamReader> stream,
- const net::BoundNetLog& bound_net_log,
+ const net::NetLogWithSource& bound_net_log,
std::unique_ptr<device::PowerSaveBlocker> power_save_blocker,
base::WeakPtr<DownloadDestinationObserver> observer,
base::WeakPtr<DownloadFileWithDelayFactory> owner);
@@ -174,7 +174,7 @@ class DownloadFileWithDelayFactory : public DownloadFileFactory {
std::unique_ptr<DownloadSaveInfo> save_info,
const base::FilePath& default_download_directory,
std::unique_ptr<ByteStreamReader> stream,
- const net::BoundNetLog& bound_net_log,
+ const net::NetLogWithSource& bound_net_log,
base::WeakPtr<DownloadDestinationObserver> observer) override;
void AddRenameCallback(base::Closure callback);
@@ -195,7 +195,7 @@ DownloadFileWithDelay::DownloadFileWithDelay(
std::unique_ptr<DownloadSaveInfo> save_info,
const base::FilePath& default_download_directory,
std::unique_ptr<ByteStreamReader> stream,
- const net::BoundNetLog& bound_net_log,
+ const net::NetLogWithSource& bound_net_log,
std::unique_ptr<device::PowerSaveBlocker> power_save_blocker,
base::WeakPtr<DownloadDestinationObserver> observer,
base::WeakPtr<DownloadFileWithDelayFactory> owner)
@@ -255,7 +255,7 @@ DownloadFile* DownloadFileWithDelayFactory::CreateFile(
std::unique_ptr<DownloadSaveInfo> save_info,
const base::FilePath& default_download_directory,
std::unique_ptr<ByteStreamReader> stream,
- const net::BoundNetLog& bound_net_log,
+ const net::NetLogWithSource& bound_net_log,
base::WeakPtr<DownloadDestinationObserver> observer) {
std::unique_ptr<device::PowerSaveBlocker> psb(new device::PowerSaveBlocker(
device::PowerSaveBlocker::kPowerSaveBlockPreventAppSuspension,
@@ -300,7 +300,7 @@ class CountingDownloadFile : public DownloadFileImpl {
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,
std::unique_ptr<device::PowerSaveBlocker> power_save_blocker,
base::WeakPtr<DownloadDestinationObserver> observer)
: DownloadFileImpl(std::move(save_info),
@@ -354,7 +354,7 @@ class CountingDownloadFileFactory : public DownloadFileFactory {
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) override {
std::unique_ptr<device::PowerSaveBlocker> psb(new device::PowerSaveBlocker(
device::PowerSaveBlocker::kPowerSaveBlockPreventAppSuspension,

Powered by Google App Engine
This is Rietveld 408576698