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

Unified Diff: chrome/tools/crash_service/caps/logger_win.h

Issue 1921973006: Revert of Remove CAPS (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/tools/crash_service/caps/exit_codes.h ('k') | chrome/tools/crash_service/caps/logger_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..efa0b94ecc8bdc8ff053e8ab70ad4a638d52cd27
--- /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;
+}
+
+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_
+
« no previous file with comments | « chrome/tools/crash_service/caps/exit_codes.h ('k') | chrome/tools/crash_service/caps/logger_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698