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