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

Unified Diff: chrome/browser/safe_browsing/two_phase_uploader.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
Index: chrome/browser/safe_browsing/two_phase_uploader.cc
diff --git a/chrome/browser/safe_browsing/two_phase_uploader.cc b/chrome/browser/safe_browsing/two_phase_uploader.cc
index 242326d7952ffd0ddd97ddbb7565c317f05a3e7e..7e719c5214a0d329c93ebae593edae40368f4d1c 100644
--- a/chrome/browser/safe_browsing/two_phase_uploader.cc
+++ b/chrome/browser/safe_browsing/two_phase_uploader.cc
@@ -105,8 +105,8 @@ void TwoPhaseUploaderImpl::OnURLFetchComplete(const net::URLFetcher* source) {
net::URLRequestStatus status = source->GetStatus();
int response_code = source->GetResponseCode();
- DVLOG(1) << __FUNCTION__ << " " << source->GetURL().spec()
- << " " << status.status() << " " << response_code;
+ DVLOG(1) << __func__ << " " << source->GetURL().spec() << " "
+ << status.status() << " " << response_code;
if (!status.is_success()) {
LOG(ERROR) << "URLFetcher failed, status=" << status.status()
@@ -158,8 +158,8 @@ void TwoPhaseUploaderImpl::OnURLFetchUploadProgress(
int64_t current,
int64_t total) {
DCHECK_CURRENTLY_ON(content::BrowserThread::UI);
- DVLOG(3) << __FUNCTION__ << " " << source->GetURL().spec()
- << " " << current << "/" << total;
+ DVLOG(3) << __func__ << " " << source->GetURL().spec() << " " << current
+ << "/" << total;
if (state_ == UPLOAD_FILE && !progress_callback_.is_null())
progress_callback_.Run(current, total);
}

Powered by Google App Engine
This is Rietveld 408576698