| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 CONTENT_PUBLIC_BROWSER_CHILD_PROCESS_DATA_H_ | 5 #ifndef CONTENT_PUBLIC_BROWSER_CHILD_PROCESS_DATA_H_ |
| 6 #define CONTENT_PUBLIC_BROWSER_CHILD_PROCESS_DATA_H_ | 6 #define CONTENT_PUBLIC_BROWSER_CHILD_PROCESS_DATA_H_ |
| 7 | 7 |
| 8 #include "base/process/process.h" | 8 #include "base/process/process.h" |
| 9 #include "base/strings/string16.h" | 9 #include "base/strings/string16.h" |
| 10 #include "content/common/content_export.h" | 10 #include "content/common/content_export.h" |
| (...skipping 10 matching lines...) Expand all Loading... |
| 21 base::string16 name; | 21 base::string16 name; |
| 22 | 22 |
| 23 // The unique identifier for this child process. This identifier is NOT a | 23 // The unique identifier for this child process. This identifier is NOT a |
| 24 // process ID, and will be unique for all types of child process for | 24 // process ID, and will be unique for all types of child process for |
| 25 // one run of the browser. | 25 // one run of the browser. |
| 26 int id; | 26 int id; |
| 27 | 27 |
| 28 // The handle to the process. | 28 // The handle to the process. |
| 29 base::ProcessHandle handle; | 29 base::ProcessHandle handle; |
| 30 | 30 |
| 31 int nacl_debug_stub_port; | |
| 32 | |
| 33 explicit ChildProcessData(int process_type) | 31 explicit ChildProcessData(int process_type) |
| 34 : process_type(process_type), id(0), handle(base::kNullProcessHandle), | 32 : process_type(process_type), id(0), handle(base::kNullProcessHandle) { |
| 35 nacl_debug_stub_port(0) { | |
| 36 } | 33 } |
| 37 }; | 34 }; |
| 38 | 35 |
| 39 } // namespace content | 36 } // namespace content |
| 40 | 37 |
| 41 #endif // CONTENT_PUBLIC_BROWSER_CHILD_PROCESS_DATA_H_ | 38 #endif // CONTENT_PUBLIC_BROWSER_CHILD_PROCESS_DATA_H_ |
| OLD | NEW |