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

Unified Diff: chromecast/crash/linux/minidump_params.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/minidump_generator.h ('k') | chromecast/crash/linux/minidump_params.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromecast/crash/linux/minidump_params.h
diff --git a/chromecast/crash/linux/minidump_params.h b/chromecast/crash/linux/minidump_params.h
new file mode 100644
index 0000000000000000000000000000000000000000..1a1c15518add1be470863863fb47abb82646c2ee
--- /dev/null
+++ b/chromecast/crash/linux/minidump_params.h
@@ -0,0 +1,39 @@
+// 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_PARAMS_H_
+#define CHROMECAST_CRASH_LINUX_MINIDUMP_PARAMS_H_
+
+#include <string>
+
+namespace chromecast {
+
+struct MinidumpParams {
+ MinidumpParams();
+ MinidumpParams(const std::string& p_process_name,
+ const uint64_t p_process_uptime,
+ const std::string& p_suffix,
+ const std::string& p_previous_app_name,
+ const std::string& p_current_app_name,
+ const std::string& p_last_app_name,
+ const std::string& p_cast_release_version,
+ const std::string& p_cast_build_number);
+ MinidumpParams(const MinidumpParams& params);
+ ~MinidumpParams();
+
+ std::string process_name;
+ uint64_t process_uptime;
+ std::string suffix;
+ std::string previous_app_name;
+ std::string current_app_name;
+ std::string last_app_name;
+ // Release version is in the format of "major.minor", such as "1.15".
+ std::string cast_release_version;
+ // Build number is numerical string such as "20000".
+ std::string cast_build_number;
+};
+
+} // namespace chromecast
+
+#endif // CHROMECAST_CRASH_LINUX_MINIDUMP_PARAMS_H_
« no previous file with comments | « chromecast/crash/linux/minidump_generator.h ('k') | chromecast/crash/linux/minidump_params.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698