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 #include "chromecast/crash/linux/minidump_params.h"
9 MinidumpParams::MinidumpParams(const std::string
& p_process_name
,
10 const uint64_t p_process_uptime
,
11 const std::string
& p_suffix
,
12 const std::string
& p_previous_app_name
,
13 const std::string
& p_current_app_name
,
14 const std::string
& p_last_app_name
,
15 const std::string
& p_cast_release_version
,
16 const std::string
& p_cast_build_number
)
17 : process_name(p_process_name
),
18 process_uptime(p_process_uptime
),
20 previous_app_name(p_previous_app_name
),
21 current_app_name(p_current_app_name
),
22 last_app_name(p_last_app_name
),
23 cast_release_version(p_cast_release_version
),
24 cast_build_number(p_cast_build_number
) {
27 MinidumpParams::MinidumpParams() : process_uptime(0) {
30 MinidumpParams::MinidumpParams(const MinidumpParams
& params
) = default;
32 MinidumpParams::~MinidumpParams() {
35 } // namespace chromecast