OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 CONTENT_BROWSER_TRACING_ETW_SYSTEM_EVENT_CONSUMER_WIN_H_ | 5 #ifndef CONTENT_BROWSER_TRACING_ETW_SYSTEM_EVENT_CONSUMER_WIN_H_ |
6 #define CONTENT_BROWSER_TRACING_ETW_SYSTEM_EVENT_CONSUMER_WIN_H_ | 6 #define CONTENT_BROWSER_TRACING_ETW_SYSTEM_EVENT_CONSUMER_WIN_H_ |
7 | 7 |
8 #include "base/bind.h" | 8 #include "base/bind.h" |
9 #include "base/macros.h" | 9 #include "base/macros.h" |
10 #include "base/memory/ref_counted_memory.h" | 10 #include "base/memory/ref_counted_memory.h" |
| 11 #include "base/memory/scoped_ptr.h" |
11 #include "base/threading/thread.h" | 12 #include "base/threading/thread.h" |
12 #include "base/trace_event/tracing_agent.h" | 13 #include "base/trace_event/tracing_agent.h" |
13 #include "base/values.h" | 14 #include "base/values.h" |
14 #include "base/win/event_trace_consumer.h" | 15 #include "base/win/event_trace_consumer.h" |
15 #include "base/win/event_trace_controller.h" | 16 #include "base/win/event_trace_controller.h" |
16 | 17 |
17 namespace base { | 18 namespace base { |
18 template <typename Type> | 19 template <typename Type> |
19 struct DefaultSingletonTraits; | 20 struct DefaultSingletonTraits; |
20 } | 21 } |
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
72 base::Thread thread_; | 73 base::Thread thread_; |
73 TRACEHANDLE session_handle_; | 74 TRACEHANDLE session_handle_; |
74 base::win::EtwTraceProperties properties_; | 75 base::win::EtwTraceProperties properties_; |
75 | 76 |
76 DISALLOW_COPY_AND_ASSIGN(EtwSystemEventConsumer); | 77 DISALLOW_COPY_AND_ASSIGN(EtwSystemEventConsumer); |
77 }; | 78 }; |
78 | 79 |
79 } // namespace content | 80 } // namespace content |
80 | 81 |
81 #endif // CONTENT_BROWSER_TRACING_ETW_SYSTEM_EVENT_CONSUMER_WIN_H_ | 82 #endif // CONTENT_BROWSER_TRACING_ETW_SYSTEM_EVENT_CONSUMER_WIN_H_ |
OLD | NEW |