| 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 <utility> | 9 #include <utility> |
| 10 #include <vector> | 10 #include <vector> |
| (...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 86 | 86 |
| 87 // Parameters sent to the NaCl process when we start it. | 87 // Parameters sent to the NaCl process when we start it. |
| 88 struct NaClStartParams { | 88 struct NaClStartParams { |
| 89 NaClStartParams(); | 89 NaClStartParams(); |
| 90 ~NaClStartParams(); | 90 ~NaClStartParams(); |
| 91 | 91 |
| 92 IPC::PlatformFileForTransit nexe_file; | 92 IPC::PlatformFileForTransit nexe_file; |
| 93 // Used only as a key for validation caching. | 93 // Used only as a key for validation caching. |
| 94 base::FilePath nexe_file_path_metadata; | 94 base::FilePath nexe_file_path_metadata; |
| 95 | 95 |
| 96 std::vector<NaClResourcePrefetchResult> prefetched_resource_files; | |
| 97 IPC::PlatformFileForTransit imc_bootstrap_handle; | 96 IPC::PlatformFileForTransit imc_bootstrap_handle; |
| 98 IPC::PlatformFileForTransit irt_handle; | 97 IPC::PlatformFileForTransit irt_handle; |
| 99 #if defined(OS_MACOSX) | 98 #if defined(OS_MACOSX) |
| 100 IPC::PlatformFileForTransit mac_shm_fd; | 99 IPC::PlatformFileForTransit mac_shm_fd; |
| 101 #endif | 100 #endif |
| 102 #if defined(OS_POSIX) | 101 #if defined(OS_POSIX) |
| 103 IPC::PlatformFileForTransit debug_stub_server_bound_socket; | 102 IPC::PlatformFileForTransit debug_stub_server_bound_socket; |
| 104 #endif | 103 #endif |
| 105 | 104 |
| 106 bool validation_cache_enabled; | 105 bool validation_cache_enabled; |
| (...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 186 base::ProcessId plugin_pid; | 185 base::ProcessId plugin_pid; |
| 187 int plugin_child_id; | 186 int plugin_child_id; |
| 188 | 187 |
| 189 // For NaCl <-> renderer crash information reporting. | 188 // For NaCl <-> renderer crash information reporting. |
| 190 base::SharedMemoryHandle crash_info_shmem_handle; | 189 base::SharedMemoryHandle crash_info_shmem_handle; |
| 191 }; | 190 }; |
| 192 | 191 |
| 193 } // namespace nacl | 192 } // namespace nacl |
| 194 | 193 |
| 195 #endif // COMPONENTS_NACL_COMMON_NACL_TYPES_H_ | 194 #endif // COMPONENTS_NACL_COMMON_NACL_TYPES_H_ |
| OLD | NEW |