Only grant permissions to new extensions from sync if they have the expected version
[chromium-blink-merge.git] / chrome / tools / crash_service / caps / logger_win.h
blobefa0b94ecc8bdc8ff053e8ab70ad4a638d52cd27
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.
5 #ifndef CHROME_TOOLS_CRASH_SERVICE_CAPS_LOGGER_WIN_H_
6 #define CHROME_TOOLS_CRASH_SERVICE_CAPS_LOGGER_WIN_H_
8 #include <windows.h>
10 #include "base/macros.h"
12 namespace base {
13 class FilePath;
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();
23 private:
24 HANDLE file_;
26 DISALLOW_COPY_AND_ASSIGN(Logger);
29 } // namespace caps
31 #endif // CHROME_TOOLS_CRASH_SERVICE_CAPS_LOGGER_WIN_H_