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 #ifndef CHROME_BROWSER_CHROMEOS_ARC_ARC_PROCESS_H_ | 4 #ifndef CHROME_BROWSER_CHROMEOS_ARC_ARC_PROCESS_H_ |
5 #define CHROME_BROWSER_CHROMEOS_ARC_ARC_PROCESS_H_ | 5 #define CHROME_BROWSER_CHROMEOS_ARC_ARC_PROCESS_H_ |
6 | 6 |
7 #include <string> | 7 #include <string> |
8 | 8 |
9 #include "base/process/process_handle.h" | 9 #include "base/process/process_handle.h" |
10 #include "components/arc/common/process.mojom.h" | 10 #include "components/arc/common/process.mojom.h" |
11 | 11 |
12 namespace arc { | 12 namespace arc { |
13 | 13 |
14 struct ArcProcess { | 14 struct ArcProcess { |
15 base::ProcessId nspid; | 15 base::ProcessId nspid; |
16 base::ProcessId pid; | 16 base::ProcessId pid; |
17 std::string process_name; | 17 std::string process_name; |
18 ProcessState process_state; | 18 mojom::ProcessState process_state; |
19 }; | 19 }; |
20 | 20 |
21 } // namespace arc | 21 } // namespace arc |
22 | 22 |
23 #endif // CHROME_BROWSER_CHROMEOS_ARC_ARC_PROCESS_H_ | 23 #endif // CHROME_BROWSER_CHROMEOS_ARC_ARC_PROCESS_H_ |
OLD | NEW |