OLD | NEW |
| (Empty) |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 | |
5 #ifndef CHROME_TOOLS_CRASH_SERVICE_CAPS_LOGGER_WIN_H_ | |
6 #define CHROME_TOOLS_CRASH_SERVICE_CAPS_LOGGER_WIN_H_ | |
7 | |
8 #include <windows.h> | |
9 | |
10 #include "base/macros.h" | |
11 | |
12 namespace base { | |
13 class FilePath; | |
14 } | |
15 | |
16 namespace caps { | |
17 // Creates a human-readable activity log file. | |
18 class Logger { | |
19 public: | |
20 explicit Logger(const base::FilePath& path); | |
21 ~Logger(); | |
22 | |
23 private: | |
24 HANDLE file_; | |
25 | |
26 DISALLOW_COPY_AND_ASSIGN(Logger); | |
27 }; | |
28 | |
29 } // namespace caps | |
30 | |
31 #endif // CHROME_TOOLS_CRASH_SERVICE_CAPS_LOGGER_WIN_H_ | |
32 | |
OLD | NEW |