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

Unified Diff: chrome/browser/download/chrome_download_manager_delegate.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 | « base/location.h ('k') | chrome/browser/download/download_history.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/download/chrome_download_manager_delegate.cc
diff --git a/chrome/browser/download/chrome_download_manager_delegate.cc b/chrome/browser/download/chrome_download_manager_delegate.cc
index 4f5f4b4f72b19640d312401bd3b819e2a258928c..dd174aafc352b84f96f1533480efd9dfb30cf238 100644
--- a/chrome/browser/download/chrome_download_manager_delegate.cc
+++ b/chrome/browser/download/chrome_download_manager_delegate.cc
@@ -323,7 +323,7 @@ bool ChromeDownloadManagerDelegate::IsDownloadReadyForCompletion(
// Begin the safe browsing download protection check.
DownloadProtectionService* service = GetDownloadProtectionService();
if (service) {
- DVLOG(2) << __FUNCTION__ << "() Start SB download check for download = "
+ DVLOG(2) << __func__ << "() Start SB download check for download = "
<< item->DebugString(false);
state = new SafeBrowsingState();
state->set_callback(internal_complete_callback);
@@ -344,7 +344,7 @@ bool ChromeDownloadManagerDelegate::IsDownloadReadyForCompletion(
(danger_type == content::DOWNLOAD_DANGER_TYPE_NOT_DANGEROUS ||
danger_type ==
content::DOWNLOAD_DANGER_TYPE_MAYBE_DANGEROUS_CONTENT)) {
- DVLOG(2) << __FUNCTION__
+ DVLOG(2) << __func__
<< "() SB service disabled. Marking download as DANGEROUS FILE";
item->OnContentCheckCompleted(
content::DOWNLOAD_DANGER_TYPE_DANGEROUS_FILE);
@@ -656,7 +656,7 @@ void ChromeDownloadManagerDelegate::CheckDownloadUrl(
if (service) {
bool is_content_check_supported =
service->IsSupportedDownload(*download, suggested_path);
- DVLOG(2) << __FUNCTION__ << "() Start SB URL check for download = "
+ DVLOG(2) << __func__ << "() Start SB URL check for download = "
<< download->DebugString(false);
service->CheckDownloadUrl(*download,
base::Bind(&CheckDownloadUrlDone,
@@ -686,7 +686,7 @@ void ChromeDownloadManagerDelegate::CheckClientDownloadDone(
if (!item || (item->GetState() != DownloadItem::IN_PROGRESS))
return;
- DVLOG(2) << __FUNCTION__ << "() download = " << item->DebugString(false)
+ DVLOG(2) << __func__ << "() download = " << item->DebugString(false)
<< " verdict = " << result;
// We only mark the content as being dangerous if the download's safety state
// has not been set to DANGEROUS yet. We don't want to show two warnings.
« no previous file with comments | « base/location.h ('k') | chrome/browser/download/download_history.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698