Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 COMPONENTS_NACL_COMMON_NACL_TYPES_H_ | 5 #ifndef COMPONENTS_NACL_COMMON_NACL_TYPES_H_ |
| 6 #define COMPONENTS_NACL_COMMON_NACL_TYPES_H_ | 6 #define COMPONENTS_NACL_COMMON_NACL_TYPES_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 56 kPNaClTranslatorProcessType, | 56 kPNaClTranslatorProcessType, |
| 57 kNumNaClProcessTypes | 57 kNumNaClProcessTypes |
| 58 }; | 58 }; |
| 59 | 59 |
| 60 // Parameters sent to the NaCl process when we start it. | 60 // Parameters sent to the NaCl process when we start it. |
| 61 struct NaClStartParams { | 61 struct NaClStartParams { |
| 62 NaClStartParams(); | 62 NaClStartParams(); |
| 63 ~NaClStartParams(); | 63 ~NaClStartParams(); |
| 64 | 64 |
| 65 IPC::PlatformFileForTransit nexe_file; | 65 IPC::PlatformFileForTransit nexe_file; |
| 66 uint64_t nexe_token_lo; | 66 base::FilePath nexe_file_path; |
|
Mark Seaborn
2014/10/14 17:37:24
Could you comment that this is used only as a key
teravest
2014/10/14 18:15:00
Done.
| |
| 67 uint64_t nexe_token_hi; | |
| 68 | 67 |
| 69 std::vector<FileDescriptor> handles; | 68 std::vector<FileDescriptor> handles; |
| 70 FileDescriptor debug_stub_server_bound_socket; | 69 FileDescriptor debug_stub_server_bound_socket; |
| 71 | 70 |
| 72 bool validation_cache_enabled; | 71 bool validation_cache_enabled; |
| 73 std::string validation_cache_key; | 72 std::string validation_cache_key; |
| 74 // Chrome version string. Sending the version string over IPC avoids linkage | 73 // Chrome version string. Sending the version string over IPC avoids linkage |
| 75 // issues in cases where NaCl is not compiled into the main Chromium | 74 // issues in cases where NaCl is not compiled into the main Chromium |
| 76 // executable or DLL. | 75 // executable or DLL. |
| 77 std::string version; | 76 std::string version; |
| (...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 148 base::ProcessId plugin_pid; | 147 base::ProcessId plugin_pid; |
| 149 int plugin_child_id; | 148 int plugin_child_id; |
| 150 | 149 |
| 151 // For NaCl <-> renderer crash information reporting. | 150 // For NaCl <-> renderer crash information reporting. |
| 152 base::SharedMemoryHandle crash_info_shmem_handle; | 151 base::SharedMemoryHandle crash_info_shmem_handle; |
| 153 }; | 152 }; |
| 154 | 153 |
| 155 } // namespace nacl | 154 } // namespace nacl |
| 156 | 155 |
| 157 #endif // COMPONENTS_NACL_COMMON_NACL_TYPES_H_ | 156 #endif // COMPONENTS_NACL_COMMON_NACL_TYPES_H_ |
| OLD | NEW |