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 |
(...skipping 10 matching lines...) Expand all Loading... |
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_local.h" | 26 #include "base/threading/thread_local.h" |
27 #include "base/trace_event/trace_event_memory_overhead.h" | 27 #include "base/trace_event/trace_event_memory_overhead.h" |
28 #include "build/build_config.h" | 28 #include "build/build_config.h" |
29 | 29 |
30 namespace base { | 30 namespace base { |
31 | |
32 class WaitableEvent; | |
33 class MessageLoop; | |
34 | |
35 namespace trace_event { | 31 namespace trace_event { |
36 | 32 |
37 typedef base::Callback<bool(const char* arg_name)> ArgumentNameFilterPredicate; | 33 typedef base::Callback<bool(const char* arg_name)> ArgumentNameFilterPredicate; |
38 | 34 |
39 typedef base::Callback<bool(const char* category_group_name, | 35 typedef base::Callback<bool(const char* category_group_name, |
40 const char* event_name, | 36 const char* event_name, |
41 ArgumentNameFilterPredicate*)> | 37 ArgumentNameFilterPredicate*)> |
42 ArgumentFilterPredicate; | 38 ArgumentFilterPredicate; |
43 | 39 |
44 // For any argument of type TRACE_VALUE_TYPE_CONVERTABLE the provided | 40 // For any argument of type TRACE_VALUE_TYPE_CONVERTABLE the provided |
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
179 unsigned char arg_types_[kTraceMaxNumArgs]; | 175 unsigned char arg_types_[kTraceMaxNumArgs]; |
180 char phase_; | 176 char phase_; |
181 | 177 |
182 DISALLOW_COPY_AND_ASSIGN(TraceEvent); | 178 DISALLOW_COPY_AND_ASSIGN(TraceEvent); |
183 }; | 179 }; |
184 | 180 |
185 } // namespace trace_event | 181 } // namespace trace_event |
186 } // namespace base | 182 } // namespace base |
187 | 183 |
188 #endif // BASE_TRACE_EVENT_TRACE_EVENT_IMPL_H_ | 184 #endif // BASE_TRACE_EVENT_TRACE_EVENT_IMPL_H_ |
OLD | NEW |