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

Side by Side Diff: src/core/SkTraceEvent.h

Issue 1369333004: Move SkAtomics.h to private. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 years, 2 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 | « src/core/SkTaskGroup.h ('k') | src/core/SkTypefaceCache.cpp » ('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) 2014 Google Inc. 1 // Copyright (c) 2014 Google Inc.
2 // 2 //
3 // Use of this source code is governed by a BSD-style license that can be 3 // Use of this source code is governed by a BSD-style license that can be
4 // found in the LICENSE file. 4 // found in the LICENSE file.
5 5
6 // This header file defines implementation details of how the trace macros in 6 // This header file defines implementation details of how the trace macros in
7 // SkTraceEventCommon.h collect and store trace events. Anything not 7 // SkTraceEventCommon.h collect and store trace events. Anything not
8 // implementation-specific should go in SkTraceEventCommon.h instead of here. 8 // implementation-specific should go in SkTraceEventCommon.h instead of here.
9 9
10 #ifndef SkTraceEvent_DEFINED 10 #ifndef SkTraceEvent_DEFINED
11 #define SkTraceEvent_DEFINED 11 #define SkTraceEvent_DEFINED
12 12
13 #include "SkAtomics.h" 13 #include "../private/SkAtomics.h"
14 #include "SkEventTracer.h" 14 #include "SkEventTracer.h"
15 #include "SkTraceEventCommon.h" 15 #include "SkTraceEventCommon.h"
16 16
17 //////////////////////////////////////////////////////////////////////////////// 17 ////////////////////////////////////////////////////////////////////////////////
18 // Implementation specific tracing API definitions. 18 // Implementation specific tracing API definitions.
19 19
20 // By default, const char* argument values are assumed to have long-lived scope 20 // By default, const char* argument values are assumed to have long-lived scope
21 // and will not be copied. Use this macro to force a const char* to be copied. 21 // and will not be copied. Use this macro to force a const char* to be copied.
22 #define TRACE_STR_COPY(str) \ 22 #define TRACE_STR_COPY(str) \
23 skia::tracing_internals::TraceStringWithCopy(str) 23 skia::tracing_internals::TraceStringWithCopy(str)
(...skipping 501 matching lines...) Expand 10 before | Expand all | Expand 10 after
525 } 525 }
526 526
527 private: 527 private:
528 const char* previous_state_; 528 const char* previous_state_;
529 }; 529 };
530 530
531 } // namespace tracing_internals 531 } // namespace tracing_internals
532 } // namespace skia 532 } // namespace skia
533 533
534 #endif 534 #endif
OLDNEW
« no previous file with comments | « src/core/SkTaskGroup.h ('k') | src/core/SkTypefaceCache.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698