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

Unified Diff: net/url_request/url_request_job.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 | « net/url_request/url_request_http_job.cc ('k') | styleguide/c++/c++11.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/url_request/url_request_job.cc
diff --git a/net/url_request/url_request_job.cc b/net/url_request/url_request_job.cc
index b80c0b37940811fade5af022fdff4da556ee7e79..e5e6e0e8898543f46d4d6090eb8adf2e18df6737 100644
--- a/net/url_request/url_request_job.cc
+++ b/net/url_request/url_request_job.cc
@@ -565,15 +565,13 @@ void URLRequestJob::ReadRawDataComplete(int result) {
if (error == OK && !filter_bytes_read)
DoneReading();
- DVLOG(1) << __FUNCTION__ << "() "
- << "\"" << request_->url().spec() << "\""
+ DVLOG(1) << __func__ << "() \"" << request_->url().spec() << "\""
<< " pre bytes read = " << bytes_read
<< " pre total = " << prefilter_bytes_read_
<< " post total = " << postfilter_bytes_read_;
bytes_read = filter_bytes_read;
} else {
- DVLOG(1) << __FUNCTION__ << "() "
- << "\"" << request_->url().spec() << "\""
+ DVLOG(1) << __func__ << "() \"" << request_->url().spec() << "\""
<< " pre bytes read = " << bytes_read
<< " pre total = " << prefilter_bytes_read_
<< " post total = " << postfilter_bytes_read_;
@@ -796,8 +794,7 @@ Error URLRequestJob::ReadFilteredData(int* bytes_read) {
break;
}
case Filter::FILTER_ERROR: {
- DVLOG(1) << __FUNCTION__ << "() "
- << "\"" << request_->url().spec() << "\""
+ DVLOG(1) << __func__ << "() \"" << request_->url().spec() << "\""
<< " Filter Error";
filter_needs_more_output_space_ = false;
error = ERR_CONTENT_DECODING_FAILED;
@@ -942,8 +939,7 @@ void URLRequestJob::RecordBytesRead(int bytes_read) {
if (!filter_.get())
postfilter_bytes_read_ += bytes_read;
- DVLOG(2) << __FUNCTION__ << "() "
- << "\"" << request_->url().spec() << "\""
+ DVLOG(2) << __func__ << "() \"" << request_->url().spec() << "\""
<< " pre bytes read = " << bytes_read
<< " pre total = " << prefilter_bytes_read_
<< " post total = " << postfilter_bytes_read_;
« no previous file with comments | « net/url_request/url_request_http_job.cc ('k') | styleguide/c++/c++11.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698