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

Unified Diff: content/browser/download/download_request_core.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_manager_impl.cc ('k') | content/browser/download/save_file_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/download/download_request_core.cc
diff --git a/content/browser/download/download_request_core.cc b/content/browser/download/download_request_core.cc
index ba995798aa9adfa292b037848f73c51af227c23c..c834e7b4a95842c13235c74885cfc1879bfd0a7d 100644
--- a/content/browser/download/download_request_core.cc
+++ b/content/browser/download/download_request_core.cc
@@ -250,7 +250,7 @@ DownloadRequestCore::CreateDownloadCreateInfo(DownloadInterruptReason result) {
bool DownloadRequestCore::OnResponseStarted(
const std::string& override_mime_type) {
DCHECK_CURRENTLY_ON(BrowserThread::IO);
- DVLOG(20) << __FUNCTION__ << "()" << DebugString();
+ DVLOG(20) << __func__ << "() " << DebugString();
download_start_time_ = base::TimeTicks::Now();
DownloadInterruptReason result =
@@ -337,7 +337,7 @@ bool DownloadRequestCore::OnResponseStarted(
}
bool DownloadRequestCore::OnRequestRedirected() {
- DVLOG(20) << __FUNCTION__ << "() " << DebugString();
+ DVLOG(20) << __func__ << "() " << DebugString();
if (is_partial_request_) {
// A redirect while attempting a partial resumption indicates a potential
// middle box. Trigger another interruption so that the DownloadItem can
@@ -405,7 +405,7 @@ bool DownloadRequestCore::OnReadCompleted(int bytes_read, bool* defer) {
}
void DownloadRequestCore::OnWillAbort(DownloadInterruptReason reason) {
- DVLOG(20) << __FUNCTION__ << "() reason=" << reason << " " << DebugString();
+ DVLOG(20) << __func__ << "() reason=" << reason << " " << DebugString();
DCHECK(!started_);
abort_reason_ = reason;
}
@@ -414,7 +414,7 @@ void DownloadRequestCore::OnResponseCompleted(
const net::URLRequestStatus& status) {
DCHECK_CURRENTLY_ON(BrowserThread::IO);
int response_code = status.is_success() ? request()->GetResponseCode() : 0;
- DVLOG(20) << __FUNCTION__ << "()" << DebugString()
+ DVLOG(20) << __func__ << "() " << DebugString()
<< " status.status() = " << status.status()
<< " status.error() = " << status.error()
<< " response_code = " << response_code;
« no previous file with comments | « content/browser/download/download_manager_impl.cc ('k') | content/browser/download/save_file_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698