Upstreaming browser/ui/uikit_ui_util from iOS.
[chromium-blink-merge.git] / chromecast / crash / linux / minidump_params.h
blob1a1c15518add1be470863863fb47abb82646c2ee
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 CHROMECAST_CRASH_LINUX_MINIDUMP_PARAMS_H_
6 #define CHROMECAST_CRASH_LINUX_MINIDUMP_PARAMS_H_
8 #include <string>
10 namespace chromecast {
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();
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;
37 } // namespace chromecast
39 #endif // CHROMECAST_CRASH_LINUX_MINIDUMP_PARAMS_H_