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

Unified Diff: chromecast/crash/linux/minidump_generator.h

Issue 1154383006: Adding crash utilities to chromecast/crash. (Closed) Base URL: https://eureka-internal.googlesource.com/chromium/src@master
Patch Set: cast_shell_unittests not built for android Created 5 years, 6 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 | « chromecast/crash/linux/dump_info_unittest.cc ('k') | chromecast/crash/linux/minidump_params.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromecast/crash/linux/minidump_generator.h
diff --git a/chromecast/crash/linux/minidump_generator.h b/chromecast/crash/linux/minidump_generator.h
new file mode 100644
index 0000000000000000000000000000000000000000..9780e430ec7102dcb1ba00fb6523205131114cf6
--- /dev/null
+++ b/chromecast/crash/linux/minidump_generator.h
@@ -0,0 +1,23 @@
+// 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 CHROMECAST_CRASH_LINUX_MINIDUMP_GENERATOR_H_
+#define CHROMECAST_CRASH_LINUX_MINIDUMP_GENERATOR_H_
+
+#include <string>
+
+namespace chromecast {
+
+class MinidumpGenerator {
+ public:
+ virtual ~MinidumpGenerator() {}
+
+ // Interface to generate a minidump file in given path.
+ // This is called inside MinidumpWriter::DoWorkLocked().
+ virtual bool Generate(const std::string& minidump_path) = 0;
+};
+
+} // namespace chromecast
+
+#endif // CHROMECAST_CRASH_LINUX_MINIDUMP_GENERATOR_H_
« no previous file with comments | « chromecast/crash/linux/dump_info_unittest.cc ('k') | chromecast/crash/linux/minidump_params.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698