OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 #ifndef CHROME_COMMON_CHILD_PROCESS_INFO_H_ | 5 #ifndef CHROME_COMMON_CHILD_PROCESS_INFO_H_ |
6 #define CHROME_COMMON_CHILD_PROCESS_INFO_H_ | 6 #define CHROME_COMMON_CHILD_PROCESS_INFO_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <string> | 9 #include <string> |
10 | 10 |
(...skipping 10 matching lines...) Expand all Loading... |
21 BROWSER_PROCESS, | 21 BROWSER_PROCESS, |
22 RENDER_PROCESS, | 22 RENDER_PROCESS, |
23 PLUGIN_PROCESS, | 23 PLUGIN_PROCESS, |
24 WORKER_PROCESS, | 24 WORKER_PROCESS, |
25 NACL_LOADER_PROCESS, | 25 NACL_LOADER_PROCESS, |
26 UTILITY_PROCESS, | 26 UTILITY_PROCESS, |
27 PROFILE_IMPORT_PROCESS, | 27 PROFILE_IMPORT_PROCESS, |
28 ZYGOTE_PROCESS, | 28 ZYGOTE_PROCESS, |
29 SANDBOX_HELPER_PROCESS, | 29 SANDBOX_HELPER_PROCESS, |
30 NACL_BROKER_PROCESS, | 30 NACL_BROKER_PROCESS, |
31 GPU_PROCESS | 31 GPU_PROCESS, |
| 32 PPAPI_PLUGIN_PROCESS |
32 }; | 33 }; |
33 | 34 |
34 ChildProcessInfo(const ChildProcessInfo& original); | 35 ChildProcessInfo(const ChildProcessInfo& original); |
35 virtual ~ChildProcessInfo(); | 36 virtual ~ChildProcessInfo(); |
36 | 37 |
37 ChildProcessInfo& operator=(const ChildProcessInfo& original); | 38 ChildProcessInfo& operator=(const ChildProcessInfo& original); |
38 | 39 |
39 // Returns the type of the process. | 40 // Returns the type of the process. |
40 ProcessType type() const { return type_; } | 41 ProcessType type() const { return type_; } |
41 | 42 |
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
106 ProcessType type_; | 107 ProcessType type_; |
107 std::wstring name_; | 108 std::wstring name_; |
108 std::wstring version_; | 109 std::wstring version_; |
109 int id_; | 110 int id_; |
110 | 111 |
111 // The handle to the process. | 112 // The handle to the process. |
112 mutable base::Process process_; | 113 mutable base::Process process_; |
113 }; | 114 }; |
114 | 115 |
115 #endif // CHROME_COMMON_CHILD_PROCESS_INFO_H_ | 116 #endif // CHROME_COMMON_CHILD_PROCESS_INFO_H_ |
OLD | NEW |