Chromium Code Reviews| Index: base/trace_event/trace_event.h |
| diff --git a/base/trace_event/trace_event.h b/base/trace_event/trace_event.h |
| index e9507f7871b30423ca603b3693f09204b5166943..767814b1c4d3c7e38f8e0498ced70fb7436d8237 100644 |
| --- a/base/trace_event/trace_event.h |
| +++ b/base/trace_event/trace_event.h |
| @@ -940,13 +940,13 @@ class TraceEventSamplingStateScope { |
| const char* previous_state_; |
| }; |
| -using TraceContext = const void*; |
| +using TraceContext = trace_event_internal::TraceID; |
|
chiniforooshan
2016/01/28 20:19:23
Where is this used?
Sami
2016/02/01 17:45:58
The current code doesn't use it because all contex
|
| class TraceScopedContext { |
| public: |
| TraceScopedContext(const char* category_group, |
| const char* name, |
| - TraceContext context) |
| + trace_event_internal::TraceID::DontMangle context) |
| : category_group_(category_group), name_(name), context_(context) { |
| TRACE_EVENT_ENTER_CONTEXT(category_group_, name_, context_); |
| } |
| @@ -958,7 +958,7 @@ class TraceScopedContext { |
| private: |
| const char* category_group_; |
| const char* name_; |
| - TraceContext context_; |
| + trace_event_internal::TraceID::DontMangle context_; |
| DISALLOW_COPY_AND_ASSIGN(TraceScopedContext); |
| }; |