| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "chrome/browser/chromeos/arc/arc_process.h" | 5 #include "chrome/browser/chromeos/arc/arc_process.h" |
| 6 | 6 |
| 7 namespace arc { | 7 namespace arc { |
| 8 | 8 |
| 9 ArcProcess::ArcProcess(base::ProcessId nspid, | 9 ArcProcess::ArcProcess(base::ProcessId nspid, |
| 10 base::ProcessId pid, | 10 base::ProcessId pid, |
| 11 const std::string& process_name, | 11 const std::string& process_name, |
| 12 mojom::ProcessState process_state) | 12 mojom::ProcessState process_state, |
| 13 int adj, |
| 14 int64_t last_activity_time) |
| 13 : nspid_(nspid), | 15 : nspid_(nspid), |
| 14 pid_(pid), | 16 pid_(pid), |
| 15 process_name_(process_name), | 17 process_name_(process_name), |
| 16 process_state_(process_state) {} | 18 process_state_(process_state), |
| 19 adj_(adj), |
| 20 last_activity_time_(last_activity_time) {} |
| 17 | 21 |
| 18 ArcProcess::~ArcProcess() = default; | 22 ArcProcess::~ArcProcess() = default; |
| 19 | 23 |
| 20 ArcProcess::ArcProcess(ArcProcess&& other) = default; | 24 ArcProcess::ArcProcess(ArcProcess&& other) = default; |
| 21 ArcProcess& ArcProcess::operator=(ArcProcess&& other) = default; | 25 ArcProcess& ArcProcess::operator=(ArcProcess&& other) = default; |
| 22 | 26 |
| 23 } // namespace arc | 27 } // namespace arc |
| OLD | NEW |