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

Side by Side Diff: net/spdy/spdy_framer_decoder_adapter.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, 4 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 unified diff | Download patch
« no previous file with comments | « net/http/http_stream_parser.cc ('k') | net/ssl/channel_id_service.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2016 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "net/spdy/spdy_framer_decoder_adapter.h" 5 #include "net/spdy/spdy_framer_decoder_adapter.h"
6 6
7 #include <memory> 7 #include <memory>
8 #include <string> 8 #include <string>
9 9
10 #include "base/format_macros.h" 10 #include "base/format_macros.h"
11 #include "base/logging.h" 11 #include "base/logging.h"
12 #include "base/strings/stringprintf.h" 12 #include "base/strings/stringprintf.h"
13 13
14 #if defined(COMPILER_GCC) 14 #if defined(COMPILER_GCC)
15 #define PRETTY_THIS base::StringPrintf("%s@%p ", __PRETTY_FUNCTION__, this) 15 #define PRETTY_THIS base::StringPrintf("%s@%p ", __PRETTY_FUNCTION__, this)
16 #elif defined(COMPILER_MSVC) 16 #elif defined(COMPILER_MSVC)
17 #define PRETTY_THIS base::StringPrintf("%s@%p ", __FUNCSIG__, this) 17 #define PRETTY_THIS base::StringPrintf("%s@%p ", __FUNCSIG__, this)
18 #else 18 #else
19 #define PRETTY_THIS base::StringPrintf("%s@%p ", __FUNCTION__, this) 19 #define PRETTY_THIS base::StringPrintf("%s@%p ", __func__, this)
20 #endif 20 #endif
21 21
22 namespace net { 22 namespace net {
23 23
24 SpdyFramerDecoderAdapter::SpdyFramerDecoderAdapter() { 24 SpdyFramerDecoderAdapter::SpdyFramerDecoderAdapter() {
25 DVLOG(1) << PRETTY_THIS; 25 DVLOG(1) << PRETTY_THIS;
26 } 26 }
27 27
28 SpdyFramerDecoderAdapter::~SpdyFramerDecoderAdapter() { 28 SpdyFramerDecoderAdapter::~SpdyFramerDecoderAdapter() {
29 DVLOG(1) << PRETTY_THIS; 29 DVLOG(1) << PRETTY_THIS;
(...skipping 224 matching lines...) Expand 10 before | Expand all | Expand 10 after
254 std::unique_ptr<SpdyFramerVisitorAdapter> visitor_adapter_; 254 std::unique_ptr<SpdyFramerVisitorAdapter> visitor_adapter_;
255 }; 255 };
256 256
257 std::unique_ptr<SpdyFramerDecoderAdapter> CreateNestedSpdyFramerDecoder( 257 std::unique_ptr<SpdyFramerDecoderAdapter> CreateNestedSpdyFramerDecoder(
258 SpdyFramer* outer) { 258 SpdyFramer* outer) {
259 return std::unique_ptr<SpdyFramerDecoderAdapter>( 259 return std::unique_ptr<SpdyFramerDecoderAdapter>(
260 new NestedSpdyFramerDecoder(outer)); 260 new NestedSpdyFramerDecoder(outer));
261 } 261 }
262 262
263 } // namespace net 263 } // namespace net
OLDNEW
« no previous file with comments | « net/http/http_stream_parser.cc ('k') | net/ssl/channel_id_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698