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 // This file contains the Windows-specific declarations for trace_event.h. | 5 // This file contains the Windows-specific declarations for trace_event.h. |
6 #ifndef BASE_DEBUG_TRACE_EVENT_WIN_H_ | 6 #ifndef BASE_DEBUG_TRACE_EVENT_WIN_H_ |
7 #define BASE_DEBUG_TRACE_EVENT_WIN_H_ | 7 #define BASE_DEBUG_TRACE_EVENT_WIN_H_ |
8 #pragma once | 8 #pragma once |
9 | 9 |
10 #include <string> | 10 #include <string> |
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
111 CAPTURE_STACK_TRACE = 0x0001, | 111 CAPTURE_STACK_TRACE = 0x0001, |
112 }; | 112 }; |
113 | 113 |
114 // The event format consists of: | 114 // The event format consists of: |
115 // The "name" string as a zero-terminated ASCII string. | 115 // The "name" string as a zero-terminated ASCII string. |
116 // The id pointer in the machine bitness. | 116 // The id pointer in the machine bitness. |
117 // The "extra" string as a zero-terminated ASCII string. | 117 // The "extra" string as a zero-terminated ASCII string. |
118 // Optionally the stack trace, consisting of a DWORD "depth", followed | 118 // Optionally the stack trace, consisting of a DWORD "depth", followed |
119 // by an array of void* (machine bitness) of length "depth". | 119 // by an array of void* (machine bitness) of length "depth". |
120 | 120 |
121 // Forward decl. | 121 } // namespace debug |
122 struct TraceLogSingletonTraits; | |
123 | |
124 } // nemspace debug | |
125 } // namespace base | 122 } // namespace base |
126 | 123 |
127 #endif // BASE_DEBUG_TRACE_EVENT_WIN_H_ | 124 #endif // BASE_DEBUG_TRACE_EVENT_WIN_H_ |
OLD | NEW |