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

Unified Diff: content/browser/download/download_item_impl.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_item_impl.cc
diff --git a/content/browser/download/download_item_impl.cc b/content/browser/download/download_item_impl.cc
index 93f8b84498ef5db8e897969675cc9ae2a2006331..1bba9742cc5deff06152df87f7c118804d30140a 100644
--- a/content/browser/download/download_item_impl.cc
+++ b/content/browser/download/download_item_impl.cc
@@ -126,7 +126,7 @@ DownloadItemImpl::DownloadItemImpl(DownloadItemImplDelegate* delegate,
DownloadDangerType danger_type,
DownloadInterruptReason interrupt_reason,
bool opened,
- const net::BoundNetLog& bound_net_log)
+ const net::NetLogWithSource& bound_net_log)
: guid_(base::ToUpperASCII(guid)),
download_id_(download_id),
target_path_(target_path),
@@ -165,7 +165,7 @@ DownloadItemImpl::DownloadItemImpl(DownloadItemImplDelegate* delegate,
DownloadItemImpl::DownloadItemImpl(DownloadItemImplDelegate* delegate,
uint32_t download_id,
const DownloadCreateInfo& info,
- const net::BoundNetLog& bound_net_log)
+ const net::NetLogWithSource& bound_net_log)
: guid_(base::ToUpperASCII(base::GenerateGUID())),
download_id_(download_id),
target_disposition_((info.save_info->prompt_for_save_location)
@@ -216,7 +216,7 @@ DownloadItemImpl::DownloadItemImpl(
const GURL& url,
const std::string& mime_type,
std::unique_ptr<DownloadRequestHandleInterface> request_handle,
- const net::BoundNetLog& bound_net_log)
+ const net::NetLogWithSource& bound_net_log)
: is_save_package_download_(true),
request_handle_(std::move(request_handle)),
guid_(base::ToUpperASCII(base::GenerateGUID())),
@@ -985,7 +985,7 @@ DownloadItemImpl::DestinationObserverAsWeakPtr() {
return weak_ptr_factory_.GetWeakPtr();
}
-const net::BoundNetLog& DownloadItemImpl::GetBoundNetLog() const {
+const net::NetLogWithSource& DownloadItemImpl::GetNetLogWithSource() const {
return bound_net_log_;
}

Powered by Google App Engine
This is Rietveld 408576698