| 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 #pragma once | |
| 10 | 9 |
| 11 #include <windows.h> | 10 #include <windows.h> |
| 12 #include <wmistr.h> | 11 #include <wmistr.h> |
| 13 #include <evntrace.h> | 12 #include <evntrace.h> |
| 14 | 13 |
| 15 #include "base/base_export.h" | 14 #include "base/base_export.h" |
| 16 #include "base/basictypes.h" | 15 #include "base/basictypes.h" |
| 17 | 16 |
| 18 namespace base { | 17 namespace base { |
| 19 namespace win { | 18 namespace win { |
| (...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 167 // RegisterTraceGuids. Non-const, because that's how the API needs it. | 166 // RegisterTraceGuids. Non-const, because that's how the API needs it. |
| 168 static TRACE_GUID_REGISTRATION obligatory_guid_registration_; | 167 static TRACE_GUID_REGISTRATION obligatory_guid_registration_; |
| 169 | 168 |
| 170 DISALLOW_COPY_AND_ASSIGN(EtwTraceProvider); | 169 DISALLOW_COPY_AND_ASSIGN(EtwTraceProvider); |
| 171 }; | 170 }; |
| 172 | 171 |
| 173 } // namespace win | 172 } // namespace win |
| 174 } // namespace base | 173 } // namespace base |
| 175 | 174 |
| 176 #endif // BASE_WIN_EVENT_TRACE_PROVIDER_H_ | 175 #endif // BASE_WIN_EVENT_TRACE_PROVIDER_H_ |
| OLD | NEW |