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_TRACING_CONSUMER_WIN_H_ | 5 #ifndef CONTENT_BROWSER_TRACING_ETW_SYSTEM_EVENT_CONSUMER_WIN_H_ |
6 #define CONTENT_BROWSER_TRACING_TRACING_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/memory/ref_counted_memory.h" | 9 #include "base/memory/ref_counted_memory.h" |
10 #include "base/threading/thread.h" | 10 #include "base/threading/thread.h" |
11 #include "base/values.h" | 11 #include "base/values.h" |
12 #include "base/win/event_trace_consumer.h" | 12 #include "base/win/event_trace_consumer.h" |
13 #include "base/win/event_trace_controller.h" | 13 #include "base/win/event_trace_controller.h" |
14 | 14 |
15 template <typename Type> | 15 template <typename Type> |
16 struct DefaultSingletonTraits; | 16 struct DefaultSingletonTraits; |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
65 scoped_ptr<base::ListValue> events_; | 65 scoped_ptr<base::ListValue> events_; |
66 base::Thread thread_; | 66 base::Thread thread_; |
67 TRACEHANDLE session_handle_; | 67 TRACEHANDLE session_handle_; |
68 base::win::EtwTraceProperties properties_; | 68 base::win::EtwTraceProperties properties_; |
69 | 69 |
70 DISALLOW_COPY_AND_ASSIGN(EtwSystemEventConsumer); | 70 DISALLOW_COPY_AND_ASSIGN(EtwSystemEventConsumer); |
71 }; | 71 }; |
72 | 72 |
73 } // namespace content | 73 } // namespace content |
74 | 74 |
75 #endif // CONTENT_BROWSER_TRACING_TRACING_CONSUMER_WIN_H_ | 75 #endif // CONTENT_BROWSER_TRACING_ETW_SYSTEM_EVENT_CONSUMER_WIN_H_ |
OLD | NEW |