OLD | NEW |
1 /* -*- c++ -*- */ | 1 /* -*- c++ -*- */ |
2 /* | 2 /* |
3 * Copyright (c) 2012 The Chromium Authors. All rights reserved. | 3 * Copyright (c) 2012 The Chromium Authors. All rights reserved. |
4 * Use of this source code is governed by a BSD-style license that can be | 4 * Use of this source code is governed by a BSD-style license that can be |
5 * found in the LICENSE file. | 5 * found in the LICENSE file. |
6 */ | 6 */ |
7 | 7 |
8 // A class containing information regarding a socket connection to a | 8 // A class containing information regarding a socket connection to a |
9 // service runtime instance. | 9 // service runtime instance. |
10 | 10 |
(...skipping 28 matching lines...) Expand all Loading... |
39 class SrpcClient; | 39 class SrpcClient; |
40 class ServiceRuntime; | 40 class ServiceRuntime; |
41 | 41 |
42 // Struct of params used by StartSelLdr. Use a struct so that callback | 42 // Struct of params used by StartSelLdr. Use a struct so that callback |
43 // creation templates aren't overwhelmed with too many parameters. | 43 // creation templates aren't overwhelmed with too many parameters. |
44 struct SelLdrStartParams { | 44 struct SelLdrStartParams { |
45 SelLdrStartParams(const nacl::string& url, | 45 SelLdrStartParams(const nacl::string& url, |
46 bool uses_irt, | 46 bool uses_irt, |
47 bool uses_ppapi, | 47 bool uses_ppapi, |
48 bool uses_nonsfi_mode, | 48 bool uses_nonsfi_mode, |
49 bool enable_dev_interfaces, | |
50 bool enable_dyncode_syscalls, | 49 bool enable_dyncode_syscalls, |
51 bool enable_exception_handling, | 50 bool enable_exception_handling, |
52 bool enable_crash_throttling) | 51 bool enable_crash_throttling) |
53 : url(url), | 52 : url(url), |
54 uses_irt(uses_irt), | 53 uses_irt(uses_irt), |
55 uses_ppapi(uses_ppapi), | 54 uses_ppapi(uses_ppapi), |
56 uses_nonsfi_mode(uses_nonsfi_mode), | 55 uses_nonsfi_mode(uses_nonsfi_mode), |
57 enable_dev_interfaces(enable_dev_interfaces), | |
58 enable_dyncode_syscalls(enable_dyncode_syscalls), | 56 enable_dyncode_syscalls(enable_dyncode_syscalls), |
59 enable_exception_handling(enable_exception_handling), | 57 enable_exception_handling(enable_exception_handling), |
60 enable_crash_throttling(enable_crash_throttling) { | 58 enable_crash_throttling(enable_crash_throttling) { |
61 } | 59 } |
62 nacl::string url; | 60 nacl::string url; |
63 bool uses_irt; | 61 bool uses_irt; |
64 bool uses_ppapi; | 62 bool uses_ppapi; |
65 bool uses_nonsfi_mode; | 63 bool uses_nonsfi_mode; |
66 bool enable_dev_interfaces; | 64 bool enable_dev_interfaces; |
67 bool enable_dyncode_syscalls; | 65 bool enable_dyncode_syscalls; |
(...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
238 // Mutex and CondVar to protect start_sel_ldr_done_ and nexe_started_. | 236 // Mutex and CondVar to protect start_sel_ldr_done_ and nexe_started_. |
239 NaClMutex mu_; | 237 NaClMutex mu_; |
240 NaClCondVar cond_; | 238 NaClCondVar cond_; |
241 bool start_sel_ldr_done_; | 239 bool start_sel_ldr_done_; |
242 bool nexe_started_; | 240 bool nexe_started_; |
243 }; | 241 }; |
244 | 242 |
245 } // namespace plugin | 243 } // namespace plugin |
246 | 244 |
247 #endif // NATIVE_CLIENT_SRC_TRUSTED_PLUGIN_SERVICE_RUNTIME_H_ | 245 #endif // NATIVE_CLIENT_SRC_TRUSTED_PLUGIN_SERVICE_RUNTIME_H_ |
OLD | NEW |