OLD | NEW |
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/basictypes.h" | |
11 #include "base/process.h" | 10 #include "base/process.h" |
12 | 11 |
13 // Holds information about a child process. | 12 // Holds information about a child process. |
14 class ChildProcessInfo { | 13 class ChildProcessInfo { |
15 public: | 14 public: |
16 enum ProcessType { | 15 enum ProcessType { |
17 BROWSER_PROCESS, | 16 BROWSER_PROCESS, |
18 RENDER_PROCESS, | 17 RENDER_PROCESS, |
19 PLUGIN_PROCESS, | 18 PLUGIN_PROCESS, |
20 WORKER_PROCESS, | 19 WORKER_PROCESS, |
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
92 ChildProcessInfo() { } | 91 ChildProcessInfo() { } |
93 | 92 |
94 ProcessType type_; | 93 ProcessType type_; |
95 std::wstring name_; | 94 std::wstring name_; |
96 | 95 |
97 // The handle to the process. | 96 // The handle to the process. |
98 mutable base::Process process_; | 97 mutable base::Process process_; |
99 }; | 98 }; |
100 | 99 |
101 #endif // CHROME_COMMON_CHILD_PROCESS_INFO_H_ | 100 #endif // CHROME_COMMON_CHILD_PROCESS_INFO_H_ |
OLD | NEW |