Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(16)

Side by Side Diff: base/win/event_trace_controller.h

Issue 10735044: Remove #pragma once. Just from base/ for now. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « base/win/event_trace_consumer.h ('k') | base/win/event_trace_provider.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 controller class. 5 // Declaration of a Windows event trace controller class.
6 // The controller takes care of creating and manipulating event trace 6 // The controller takes care of creating and manipulating event trace
7 // sessions. 7 // sessions.
8 // 8 //
9 // Event tracing for Windows is a system-provided service that provides 9 // Event tracing for Windows is a system-provided service that provides
10 // logging control and high-performance transport for generic, binary trace 10 // logging control and high-performance transport for generic, binary trace
11 // events. Event trace providers register with the system by their name, 11 // events. Event trace providers register with the system by their name,
12 // which is a GUID, and can from that point forward receive callbacks that 12 // which is a GUID, and can from that point forward receive callbacks that
13 // start or end tracing and that change their trace level and enable mask. 13 // start or end tracing and that change their trace level and enable mask.
14 // 14 //
15 // A trace controller can create an event tracing session, which either 15 // A trace controller can create an event tracing session, which either
16 // sends events to a binary file, or to a realtime consumer, or both. 16 // sends events to a binary file, or to a realtime consumer, or both.
17 // 17 //
18 // A trace consumer consumes events from zero or one realtime session, 18 // A trace consumer consumes events from zero or one realtime session,
19 // as well as potentially from multiple binary trace files. 19 // as well as potentially from multiple binary trace files.
20 #ifndef BASE_WIN_EVENT_TRACE_CONTROLLER_H_ 20 #ifndef BASE_WIN_EVENT_TRACE_CONTROLLER_H_
21 #define BASE_WIN_EVENT_TRACE_CONTROLLER_H_ 21 #define BASE_WIN_EVENT_TRACE_CONTROLLER_H_
22 #pragma once
23 22
24 #include <windows.h> 23 #include <windows.h>
25 #include <wmistr.h> 24 #include <wmistr.h>
26 #include <evntrace.h> 25 #include <evntrace.h>
27 #include <string> 26 #include <string>
28 27
29 #include "base/base_export.h" 28 #include "base/base_export.h"
30 #include "base/basictypes.h" 29 #include "base/basictypes.h"
31 30
32 namespace base { 31 namespace base {
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after
143 std::wstring session_name_; 142 std::wstring session_name_;
144 TRACEHANDLE session_; 143 TRACEHANDLE session_;
145 144
146 DISALLOW_COPY_AND_ASSIGN(EtwTraceController); 145 DISALLOW_COPY_AND_ASSIGN(EtwTraceController);
147 }; 146 };
148 147
149 } // namespace win 148 } // namespace win
150 } // namespace base 149 } // namespace base
151 150
152 #endif // BASE_WIN_EVENT_TRACE_CONTROLLER_H_ 151 #endif // BASE_WIN_EVENT_TRACE_CONTROLLER_H_
OLDNEW
« no previous file with comments | « base/win/event_trace_consumer.h ('k') | base/win/event_trace_provider.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698