Chromium Code Reviews| Index: chrome/tools/crash_service/caps/logger_win.h |
| diff --git a/chrome/tools/crash_service/caps/logger_win.h b/chrome/tools/crash_service/caps/logger_win.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..320f8e179dea0d07d322fae80221912bbf6b8589 |
| --- /dev/null |
| +++ b/chrome/tools/crash_service/caps/logger_win.h |
| @@ -0,0 +1,32 @@ |
| +// Copyright 2015 The Chromium Authors. All rights reserved. |
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +#ifndef CHROME_TOOLS_CRASH_SERVICE_CAPS_LOGGER_WIN_H_ |
| +#define CHROME_TOOLS_CRASH_SERVICE_CAPS_LOGGER_WIN_H_ |
| + |
| +#include <windows.h> |
| + |
| +#include "base/macros.h" |
| + |
| +namespace base { |
| +class FilePath; |
| +} |
| + |
|
cpu_(ooo_6.6-7.5)
2015/02/01 19:08:41
sorry for the reinvention of the wheel. The one in
|
| +namespace caps { |
| +// Creates a human-readable activity log file. |
| +class Logger { |
| +public: |
| + explicit Logger(const base::FilePath& path); |
| + ~Logger(); |
| + |
| +private: |
| + HANDLE file_; |
| + |
| + DISALLOW_COPY_AND_ASSIGN(Logger); |
| +}; |
| + |
| +} // namespace caps |
| + |
| +#endif // CHROME_TOOLS_CRASH_SERVICE_CAPS_LOGGER_WIN_H_ |
| + |