OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 CHROME_TEST_LOGGING_WIN_FILE_LOGGER_H_ | 5 #ifndef CHROME_TEST_LOGGING_WIN_FILE_LOGGER_H_ |
6 #define CHROME_TEST_LOGGING_WIN_FILE_LOGGER_H_ | 6 #define CHROME_TEST_LOGGING_WIN_FILE_LOGGER_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <guiddef.h> | 9 #include <guiddef.h> |
10 | 10 |
11 #include "base/basictypes.h" | 11 #include "base/basictypes.h" |
12 #include "base/memory/scoped_ptr.h" | |
13 #include "base/string16.h" | 12 #include "base/string16.h" |
14 #include "base/win/event_trace_controller.h" | 13 #include "base/win/event_trace_controller.h" |
15 | 14 |
16 class FilePath; | 15 class FilePath; |
17 | 16 |
18 namespace logging_win { | 17 namespace logging_win { |
19 | 18 |
20 // A file logger instance captures LOG messages and trace events emitted via | 19 // A file logger instance captures LOG messages and trace events emitted via |
21 // Event Tracing for Windows (ETW) and sends them to a file. Events can be | 20 // Event Tracing for Windows (ETW) and sends them to a file. Events can be |
22 // pulled from the file sometime later with PrintLogFile or ReadLogFile | 21 // pulled from the file sometime later with PrintLogFile or ReadLogFile |
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
79 | 78 |
80 base::win::EtwTraceController controller_; | 79 base::win::EtwTraceController controller_; |
81 uint32 event_provider_mask_; | 80 uint32 event_provider_mask_; |
82 | 81 |
83 DISALLOW_COPY_AND_ASSIGN(FileLogger); | 82 DISALLOW_COPY_AND_ASSIGN(FileLogger); |
84 }; | 83 }; |
85 | 84 |
86 } // namespace logging_win | 85 } // namespace logging_win |
87 | 86 |
88 #endif // CHROME_TEST_LOGGING_WIN_FILE_LOGGER_H_ | 87 #endif // CHROME_TEST_LOGGING_WIN_FILE_LOGGER_H_ |
OLD | NEW |