Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3)

Side by Side Diff: components/nacl/loader/nacl_listener.cc

Issue 16881004: Move chrome/nacl to components/nacl. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Create a zygote folder Created 7 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « components/nacl/loader/nacl_listener.h ('k') | components/nacl/loader/nacl_main.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 #include "chrome/nacl/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)
11 #include <unistd.h> 11 #include <unistd.h>
12 #endif 12 #endif
13 13
14 #include "base/command_line.h" 14 #include "base/command_line.h"
15 #include "base/logging.h" 15 #include "base/logging.h"
16 #include "base/memory/scoped_ptr.h" 16 #include "base/memory/scoped_ptr.h"
17 #include "base/message_loop.h" 17 #include "base/message_loop.h"
18 #include "base/rand_util.h" 18 #include "base/rand_util.h"
19 #include "chrome/common/nacl_messages.h" 19 #include "components/nacl/common/nacl_messages.h"
20 #include "chrome/nacl/nacl_ipc_adapter.h" 20 #include "components/nacl/loader/nacl_ipc_adapter.h"
21 #include "chrome/nacl/nacl_validation_db.h" 21 #include "components/nacl/loader/nacl_validation_db.h"
22 #include "chrome/nacl/nacl_validation_query.h" 22 #include "components/nacl/loader/nacl_validation_query.h"
23 #include "ipc/ipc_channel_handle.h" 23 #include "ipc/ipc_channel_handle.h"
24 #include "ipc/ipc_switches.h" 24 #include "ipc/ipc_switches.h"
25 #include "ipc/ipc_sync_channel.h" 25 #include "ipc/ipc_sync_channel.h"
26 #include "ipc/ipc_sync_message_filter.h" 26 #include "ipc/ipc_sync_message_filter.h"
27 #include "native_client/src/trusted/service_runtime/sel_main_chrome.h" 27 #include "native_client/src/trusted/service_runtime/sel_main_chrome.h"
28 #include "native_client/src/trusted/validator/nacl_file_info.h" 28 #include "native_client/src/trusted/validator/nacl_file_info.h"
29 29
30 #if defined(OS_POSIX) 30 #if defined(OS_POSIX)
31 #include "base/file_descriptor_posix.h" 31 #include "base/file_descriptor_posix.h"
32 #endif 32 #endif
(...skipping 284 matching lines...) Expand 10 before | Expand all | Expand 10 after
317 #if defined(OS_WIN) 317 #if defined(OS_WIN)
318 args->broker_duplicate_handle_func = BrokerDuplicateHandle; 318 args->broker_duplicate_handle_func = BrokerDuplicateHandle;
319 args->attach_debug_exception_handler_func = AttachDebugExceptionHandler; 319 args->attach_debug_exception_handler_func = AttachDebugExceptionHandler;
320 #endif 320 #endif
321 #if defined(OS_LINUX) 321 #if defined(OS_LINUX)
322 args->prereserved_sandbox_size = prereserved_sandbox_size_; 322 args->prereserved_sandbox_size = prereserved_sandbox_size_;
323 #endif 323 #endif
324 NaClChromeMainStart(args); 324 NaClChromeMainStart(args);
325 NOTREACHED(); 325 NOTREACHED();
326 } 326 }
OLDNEW
« no previous file with comments | « components/nacl/loader/nacl_listener.h ('k') | components/nacl/loader/nacl_main.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698