OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
(...skipping 27 matching lines...) Expand all Loading... |
38 | 38 |
39 // Parameters sent to the NaCl process when we start it. | 39 // Parameters sent to the NaCl process when we start it. |
40 // | 40 // |
41 // If you change this, you will also need to update the IPC serialization in | 41 // If you change this, you will also need to update the IPC serialization in |
42 // nacl_messages.h. | 42 // nacl_messages.h. |
43 struct NaClStartParams { | 43 struct NaClStartParams { |
44 NaClStartParams(); | 44 NaClStartParams(); |
45 ~NaClStartParams(); | 45 ~NaClStartParams(); |
46 | 46 |
47 std::vector<FileDescriptor> handles; | 47 std::vector<FileDescriptor> handles; |
| 48 std::string channel_name; |
48 std::string validation_cache_key; | 49 std::string validation_cache_key; |
49 | 50 |
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 }; | 57 }; |
57 | 58 |
58 } // namespace nacl | 59 } // namespace nacl |
59 | 60 |
60 #endif // CHROME_COMMON_NACL_TYPES_H_ | 61 #endif // CHROME_COMMON_NACL_TYPES_H_ |
OLD | NEW |