| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 // Declaration of a Windows event trace provider class, to allow using | 5 // Declaration of a Windows event trace provider class, to allow using |
| 6 // Windows Event Tracing for logging transport and control. | 6 // Windows Event Tracing for logging transport and control. |
| 7 #ifndef BASE_WIN_EVENT_TRACE_PROVIDER_H_ | 7 #ifndef BASE_WIN_EVENT_TRACE_PROVIDER_H_ |
| 8 #define BASE_WIN_EVENT_TRACE_PROVIDER_H_ | 8 #define BASE_WIN_EVENT_TRACE_PROVIDER_H_ |
| 9 | 9 |
| 10 #include <windows.h> | 10 #include <windows.h> |
| 11 #include <wmistr.h> | 11 #include <wmistr.h> |
| 12 #include <evntrace.h> | 12 #include <evntrace.h> |
| 13 #include <stddef.h> |
| 13 #include <stdint.h> | 14 #include <stdint.h> |
| 14 | 15 |
| 15 #include <limits> | 16 #include <limits> |
| 16 | 17 |
| 17 #include "base/base_export.h" | 18 #include "base/base_export.h" |
| 18 #include "base/macros.h" | 19 #include "base/macros.h" |
| 19 | 20 |
| 20 namespace base { | 21 namespace base { |
| 21 namespace win { | 22 namespace win { |
| 22 | 23 |
| (...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 174 // RegisterTraceGuids. Non-const, because that's how the API needs it. | 175 // RegisterTraceGuids. Non-const, because that's how the API needs it. |
| 175 static TRACE_GUID_REGISTRATION obligatory_guid_registration_; | 176 static TRACE_GUID_REGISTRATION obligatory_guid_registration_; |
| 176 | 177 |
| 177 DISALLOW_COPY_AND_ASSIGN(EtwTraceProvider); | 178 DISALLOW_COPY_AND_ASSIGN(EtwTraceProvider); |
| 178 }; | 179 }; |
| 179 | 180 |
| 180 } // namespace win | 181 } // namespace win |
| 181 } // namespace base | 182 } // namespace base |
| 182 | 183 |
| 183 #endif // BASE_WIN_EVENT_TRACE_PROVIDER_H_ | 184 #endif // BASE_WIN_EVENT_TRACE_PROVIDER_H_ |
| OLD | NEW |