| 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 CHROME_COMMON_NACL_TYPES_H_ | 5 #ifndef CHROME_COMMON_NACL_TYPES_H_ |
| 6 #define CHROME_COMMON_NACL_TYPES_H_ | 6 #define CHROME_COMMON_NACL_TYPES_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 26 matching lines...) Expand all Loading... |
| 37 | 37 |
| 38 // Parameters sent to the NaCl process when we start it. | 38 // Parameters sent to the NaCl process when we start it. |
| 39 // | 39 // |
| 40 // If you change this, you will also need to update the IPC serialization in | 40 // If you change this, you will also need to update the IPC serialization in |
| 41 // nacl_messages.h. | 41 // nacl_messages.h. |
| 42 struct NaClStartParams { | 42 struct NaClStartParams { |
| 43 NaClStartParams(); | 43 NaClStartParams(); |
| 44 ~NaClStartParams(); | 44 ~NaClStartParams(); |
| 45 | 45 |
| 46 std::vector<FileDescriptor> handles; | 46 std::vector<FileDescriptor> handles; |
| 47 FileDescriptor debug_stub_server_bound_socket; |
| 47 | 48 |
| 48 bool validation_cache_enabled; | 49 bool validation_cache_enabled; |
| 49 std::string validation_cache_key; | 50 std::string validation_cache_key; |
| 50 // Chrome version string. Sending the version string over IPC avoids linkage | 51 // Chrome version string. Sending the version string over IPC avoids linkage |
| 51 // issues in cases where NaCl is not compiled into the main Chromium | 52 // issues in cases where NaCl is not compiled into the main Chromium |
| 52 // executable or DLL. | 53 // executable or DLL. |
| 53 std::string version; | 54 std::string version; |
| 54 | 55 |
| 55 bool enable_exception_handling; | 56 bool enable_exception_handling; |
| 56 bool enable_debug_stub; | 57 bool enable_debug_stub; |
| 57 bool enable_ipc_proxy; | 58 bool enable_ipc_proxy; |
| 58 }; | 59 }; |
| 59 | 60 |
| 60 } // namespace nacl | 61 } // namespace nacl |
| 61 | 62 |
| 62 #endif // CHROME_COMMON_NACL_TYPES_H_ | 63 #endif // CHROME_COMMON_NACL_TYPES_H_ |
| OLD | NEW |