OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 BASE_TRACE_EVENT_TRACE_LOG_H_ | 5 #ifndef BASE_TRACE_EVENT_TRACE_LOG_H_ |
6 #define BASE_TRACE_EVENT_TRACE_LOG_H_ | 6 #define BASE_TRACE_EVENT_TRACE_LOG_H_ |
7 | 7 |
8 #include <stddef.h> | 8 #include <stddef.h> |
9 #include <stdint.h> | 9 #include <stdint.h> |
10 | 10 |
11 #include <memory> | 11 #include <memory> |
12 #include <string> | 12 #include <string> |
13 #include <vector> | 13 #include <vector> |
14 | 14 |
15 #include "base/atomicops.h" | 15 #include "base/atomicops.h" |
16 #include "base/containers/hash_tables.h" | 16 #include "base/containers/hash_tables.h" |
17 #include "base/gtest_prod_util.h" | 17 #include "base/gtest_prod_util.h" |
18 #include "base/macros.h" | 18 #include "base/macros.h" |
19 #include "base/memory/scoped_vector.h" | 19 #include "base/memory/scoped_vector.h" |
20 #include "base/trace_event/memory_dump_provider.h" | 20 #include "base/trace_event/memory_dump_provider.h" |
21 #include "base/trace_event/trace_config.h" | 21 #include "base/trace_event/trace_config.h" |
22 #include "base/trace_event/trace_event_impl.h" | 22 #include "base/trace_event/trace_event_impl.h" |
23 #include "build/build_config.h" | 23 #include "build/build_config.h" |
24 | 24 |
25 namespace base { | 25 namespace base { |
26 | 26 |
27 template <typename Type> | 27 template <typename Type> |
28 struct DefaultSingletonTraits; | 28 struct DefaultSingletonTraits; |
| 29 class MessageLoop; |
29 class RefCountedString; | 30 class RefCountedString; |
30 | 31 |
31 namespace trace_event { | 32 namespace trace_event { |
32 | 33 |
33 class TraceBuffer; | 34 class TraceBuffer; |
34 class TraceBufferChunk; | 35 class TraceBufferChunk; |
35 class TraceEvent; | 36 class TraceEvent; |
36 class TraceEventMemoryOverhead; | 37 class TraceEventMemoryOverhead; |
37 | 38 |
38 struct BASE_EXPORT TraceLogStatus { | 39 struct BASE_EXPORT TraceLogStatus { |
(...skipping 481 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
520 subtle::AtomicWord generation_; | 521 subtle::AtomicWord generation_; |
521 bool use_worker_thread_; | 522 bool use_worker_thread_; |
522 | 523 |
523 DISALLOW_COPY_AND_ASSIGN(TraceLog); | 524 DISALLOW_COPY_AND_ASSIGN(TraceLog); |
524 }; | 525 }; |
525 | 526 |
526 } // namespace trace_event | 527 } // namespace trace_event |
527 } // namespace base | 528 } // namespace base |
528 | 529 |
529 #endif // BASE_TRACE_EVENT_TRACE_LOG_H_ | 530 #endif // BASE_TRACE_EVENT_TRACE_LOG_H_ |
OLD | NEW |