OLD | NEW |
(Empty) | |
| 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. |
| 4 |
| 5 #ifndef CHROMECAST_CRASH_LINUX_MINIDUMP_PARAMS_H_ |
| 6 #define CHROMECAST_CRASH_LINUX_MINIDUMP_PARAMS_H_ |
| 7 |
| 8 #include <string> |
| 9 |
| 10 namespace chromecast { |
| 11 |
| 12 struct MinidumpParams { |
| 13 MinidumpParams(); |
| 14 MinidumpParams(const std::string& p_process_name, |
| 15 const uint64_t p_process_uptime, |
| 16 const std::string& p_suffix, |
| 17 const std::string& p_previous_app_name, |
| 18 const std::string& p_current_app_name, |
| 19 const std::string& p_last_app_name, |
| 20 const std::string& p_cast_release_version, |
| 21 const std::string& p_cast_build_number); |
| 22 MinidumpParams(const MinidumpParams& params); |
| 23 ~MinidumpParams(); |
| 24 |
| 25 std::string process_name; |
| 26 uint64_t process_uptime; |
| 27 std::string suffix; |
| 28 std::string previous_app_name; |
| 29 std::string current_app_name; |
| 30 std::string last_app_name; |
| 31 // Release version is in the format of "major.minor", such as "1.15". |
| 32 std::string cast_release_version; |
| 33 // Build number is numerical string such as "20000". |
| 34 std::string cast_build_number; |
| 35 }; |
| 36 |
| 37 } // namespace chromecast |
| 38 |
| 39 #endif // CHROMECAST_CRASH_LINUX_MINIDUMP_PARAMS_H_ |
OLD | NEW |