| 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/memory/ref_counted_memory.h" | 10 #include "base/memory/ref_counted_memory.h" |
| 10 #include "base/threading/thread.h" | 11 #include "base/threading/thread.h" |
| 11 #include "base/trace_event/tracing_agent.h" | 12 #include "base/trace_event/tracing_agent.h" |
| 12 #include "base/values.h" | 13 #include "base/values.h" |
| 13 #include "base/win/event_trace_consumer.h" | 14 #include "base/win/event_trace_consumer.h" |
| 14 #include "base/win/event_trace_controller.h" | 15 #include "base/win/event_trace_controller.h" |
| 15 | 16 |
| 16 namespace base { | 17 namespace base { |
| 17 template <typename Type> | 18 template <typename Type> |
| 18 struct DefaultSingletonTraits; | 19 struct DefaultSingletonTraits; |
| (...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 71 base::Thread thread_; | 72 base::Thread thread_; |
| 72 TRACEHANDLE session_handle_; | 73 TRACEHANDLE session_handle_; |
| 73 base::win::EtwTraceProperties properties_; | 74 base::win::EtwTraceProperties properties_; |
| 74 | 75 |
| 75 DISALLOW_COPY_AND_ASSIGN(EtwSystemEventConsumer); | 76 DISALLOW_COPY_AND_ASSIGN(EtwSystemEventConsumer); |
| 76 }; | 77 }; |
| 77 | 78 |
| 78 } // namespace content | 79 } // namespace content |
| 79 | 80 |
| 80 #endif // CONTENT_BROWSER_TRACING_ETW_SYSTEM_EVENT_CONSUMER_WIN_H_ | 81 #endif // CONTENT_BROWSER_TRACING_ETW_SYSTEM_EVENT_CONSUMER_WIN_H_ |
| OLD | NEW |