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

Side by Side Diff: Source/platform/TraceLocation.h

Issue 467193002: Cleanup namespace usage in Source/core/platform/[A-Z]*.h (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 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 | « Source/platform/TestingPlatformSupport.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 #ifndef TraceLocation_h 5 #ifndef TraceLocation_h
6 #define TraceLocation_h 6 #define TraceLocation_h
7 7
8 // This is intentionally similar to base/location.h 8 // This is intentionally similar to base/location.h
9 // that we could easily replace usage of TraceLocation 9 // that we could easily replace usage of TraceLocation
10 // with base::Location after merging into Chromium. 10 // with base::Location after merging into Chromium.
(...skipping 16 matching lines...) Expand all
27 27
28 const char* functionName() const { return m_functionName; } 28 const char* functionName() const { return m_functionName; }
29 const char* fileName() const { return m_fileName; } 29 const char* fileName() const { return m_fileName; }
30 30
31 private: 31 private:
32 const char* m_functionName; 32 const char* m_functionName;
33 const char* m_fileName; 33 const char* m_fileName;
34 }; 34 };
35 35
36 #define FROM_HERE ::blink::TraceLocation(__FUNCTION__, __FILE__) 36 #define FROM_HERE ::blink::TraceLocation(__FUNCTION__, __FILE__)
37 } 37 } // namespace blink
38 38
39 #endif // TraceLocation_h 39 #endif // TraceLocation_h
OLDNEW
« no previous file with comments | « Source/platform/TestingPlatformSupport.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698