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

Unified Diff: content/browser/download/download_manager_impl.cc

Issue 2161193003: Use __func__ instead of __FUNCTION__. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Resync Created 4 years, 5 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
« no previous file with comments | « content/browser/download/download_item_impl.cc ('k') | content/browser/download/download_request_core.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/download/download_manager_impl.cc
diff --git a/content/browser/download/download_manager_impl.cc b/content/browser/download/download_manager_impl.cc
index e5584bd4c06de7bf52ebfb8580607ebae1b9a038..dd0827e14c9654f086e1c500e6155b4911efda5e 100644
--- a/content/browser/download/download_manager_impl.cc
+++ b/content/browser/download/download_manager_impl.cc
@@ -266,8 +266,7 @@ DownloadManagerDelegate* DownloadManagerImpl::GetDelegate() const {
}
void DownloadManagerImpl::Shutdown() {
- DVLOG(20) << __FUNCTION__ << "()"
- << " shutdown_needed_ = " << shutdown_needed_;
+ DVLOG(20) << __func__ << "() shutdown_needed_ = " << shutdown_needed_;
if (!shutdown_needed_)
return;
shutdown_needed_ = false;
@@ -305,8 +304,8 @@ void DownloadManagerImpl::StartDownload(
// |stream| is only non-nil if the download request was successful.
DCHECK((info->result == DOWNLOAD_INTERRUPT_REASON_NONE && stream.get()) ||
(info->result != DOWNLOAD_INTERRUPT_REASON_NONE && !stream.get()));
- DVLOG(20) << __FUNCTION__ << "()"
- << " result=" << DownloadInterruptReasonToString(info->result);
+ DVLOG(20) << __func__
+ << "() result=" << DownloadInterruptReasonToString(info->result);
uint32_t download_id = info->download_id;
const bool new_download = (download_id == content::DownloadItem::kInvalidId);
base::Callback<void(uint32_t)> got_id(base::Bind(
@@ -638,7 +637,7 @@ DownloadItem* DownloadManagerImpl::CreateDownloadItem(
downloads_[id] = item;
downloads_by_guid_[guid] = item;
FOR_EACH_OBSERVER(Observer, observers_, OnDownloadCreated(this, item));
- DVLOG(20) << __FUNCTION__ << "() download = " << item->DebugString(true);
+ DVLOG(20) << __func__ << "() download = " << item->DebugString(true);
return item;
}
« no previous file with comments | « content/browser/download/download_item_impl.cc ('k') | content/browser/download/download_request_core.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698