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

Unified Diff: net/http/http_stream_parser.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 | « media/renderers/video_renderer_impl.cc ('k') | net/spdy/spdy_framer_decoder_adapter.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/http/http_stream_parser.cc
diff --git a/net/http/http_stream_parser.cc b/net/http/http_stream_parser.cc
index abc6af13cad0e2a7d39fa2d5a603df08f69b7aa5..f8b5fe995219a331bb351462fd61f6031148eaea 100644
--- a/net/http/http_stream_parser.cc
+++ b/net/http/http_stream_parser.cc
@@ -245,8 +245,7 @@ int HttpStreamParser::SendRequest(const std::string& request_line,
base::Unretained(&headers),
&request_line));
- DVLOG(1) << __FUNCTION__ << "()"
- << " request_line = \"" << request_line << "\""
+ DVLOG(1) << __func__ << "() request_line = \"" << request_line << "\""
<< " headers = \"" << headers.ToString() << "\"";
response_ = response;
@@ -1039,9 +1038,8 @@ int HttpStreamParser::ParseResponseHeaders(int end_offset) {
response_->connection_info = HttpResponseInfo::CONNECTION_INFO_HTTP1_1;
}
response_->vary_data.Init(*request_, *response_->headers);
- DVLOG(1) << __FUNCTION__ << "()"
- << " content_length = \"" << response_->headers->GetContentLength()
- << "\n\""
+ DVLOG(1) << __func__ << "() content_length = \""
+ << response_->headers->GetContentLength() << "\n\""
<< " headers = \"" << GetResponseHeaderLines(*response_->headers)
<< "\"";
return OK;
« no previous file with comments | « media/renderers/video_renderer_impl.cc ('k') | net/spdy/spdy_framer_decoder_adapter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698