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 #include "components/nacl/loader/nacl_listener.h" | 5 #include "components/nacl/loader/nacl_listener.h" |
6 | 6 |
7 #include <errno.h> | 7 #include <errno.h> |
8 #include <stdlib.h> | 8 #include <stdlib.h> |
9 | 9 |
10 #if defined(OS_POSIX) | 10 #if defined(OS_POSIX) |
(...skipping 457 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
468 #if defined(OS_WIN) | 468 #if defined(OS_WIN) |
469 args->broker_duplicate_handle_func = BrokerDuplicateHandle; | 469 args->broker_duplicate_handle_func = BrokerDuplicateHandle; |
470 args->attach_debug_exception_handler_func = AttachDebugExceptionHandler; | 470 args->attach_debug_exception_handler_func = AttachDebugExceptionHandler; |
471 args->debug_stub_server_port_selected_handler_func = | 471 args->debug_stub_server_port_selected_handler_func = |
472 DebugStubPortSelectedHandler; | 472 DebugStubPortSelectedHandler; |
473 #endif | 473 #endif |
474 #if defined(OS_LINUX) | 474 #if defined(OS_LINUX) |
475 args->prereserved_sandbox_size = prereserved_sandbox_size_; | 475 args->prereserved_sandbox_size = prereserved_sandbox_size_; |
476 #endif | 476 #endif |
477 | 477 |
478 NaClChromeMainStartApp(nap, args); | 478 NaClChromeMainStartApp(nap, args); |
bradn
2014/06/10 16:42:47
I'm a little uncomfortable with this being removed
Sébastien Marchand
2014/06/10 17:03:33
I could do this but the NaCLChromeMainStartApp fun
bradn
2014/06/10 17:35:31
So we have this here for a very particular reason.
Sébastien Marchand
2014/06/10 17:40:49
I've address Peter's comment her https://code.goog
| |
479 NOTREACHED(); | |
480 } | 479 } |
OLD | NEW |