OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 | 5 |
6 #ifndef BASE_TRACE_EVENT_TRACE_EVENT_IMPL_H_ | 6 #ifndef BASE_TRACE_EVENT_TRACE_EVENT_IMPL_H_ |
7 #define BASE_TRACE_EVENT_TRACE_EVENT_IMPL_H_ | 7 #define BASE_TRACE_EVENT_TRACE_EVENT_IMPL_H_ |
8 | 8 |
9 #include <stdint.h> | 9 #include <stdint.h> |
10 | 10 |
11 #include <memory> | 11 #include <memory> |
12 #include <stack> | 12 #include <stack> |
13 #include <string> | 13 #include <string> |
14 #include <vector> | 14 #include <vector> |
15 | 15 |
16 #include "base/atomicops.h" | 16 #include "base/atomicops.h" |
17 #include "base/base_export.h" | 17 #include "base/base_export.h" |
18 #include "base/callback.h" | 18 #include "base/callback.h" |
19 #include "base/containers/hash_tables.h" | 19 #include "base/containers/hash_tables.h" |
20 #include "base/macros.h" | 20 #include "base/macros.h" |
21 #include "base/observer_list.h" | 21 #include "base/observer_list.h" |
22 #include "base/single_thread_task_runner.h" | 22 #include "base/single_thread_task_runner.h" |
23 #include "base/strings/string_util.h" | 23 #include "base/strings/string_util.h" |
24 #include "base/synchronization/condition_variable.h" | 24 #include "base/synchronization/condition_variable.h" |
25 #include "base/synchronization/lock.h" | 25 #include "base/synchronization/lock.h" |
26 #include "base/threading/thread.h" | |
27 #include "base/threading/thread_local.h" | 26 #include "base/threading/thread_local.h" |
28 #include "base/trace_event/trace_event_memory_overhead.h" | 27 #include "base/trace_event/trace_event_memory_overhead.h" |
29 #include "build/build_config.h" | 28 #include "build/build_config.h" |
30 | 29 |
31 namespace base { | 30 namespace base { |
32 | 31 |
33 class WaitableEvent; | 32 class WaitableEvent; |
34 class MessageLoop; | 33 class MessageLoop; |
35 | 34 |
36 namespace trace_event { | 35 namespace trace_event { |
(...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
180 unsigned char arg_types_[kTraceMaxNumArgs]; | 179 unsigned char arg_types_[kTraceMaxNumArgs]; |
181 char phase_; | 180 char phase_; |
182 | 181 |
183 DISALLOW_COPY_AND_ASSIGN(TraceEvent); | 182 DISALLOW_COPY_AND_ASSIGN(TraceEvent); |
184 }; | 183 }; |
185 | 184 |
186 } // namespace trace_event | 185 } // namespace trace_event |
187 } // namespace base | 186 } // namespace base |
188 | 187 |
189 #endif // BASE_TRACE_EVENT_TRACE_EVENT_IMPL_H_ | 188 #endif // BASE_TRACE_EVENT_TRACE_EVENT_IMPL_H_ |
OLD | NEW |