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

Side by Side Diff: components/nacl/common/nacl_host_messages.h

Issue 332463003: Pepper: Remove LOAD_MODULE SRPC call in SFI mode. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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 | Annotate | Revision Log
OLDNEW
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 // Multiply-included file, no traditional include guard. 5 // Multiply-included file, no traditional include guard.
6 6
7 #include <string> 7 #include <string>
8 8
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 #include "base/process/process.h" 10 #include "base/process/process.h"
11 #include "build/build_config.h" 11 #include "build/build_config.h"
12 #include "components/nacl/common/nacl_types.h" 12 #include "components/nacl/common/nacl_types.h"
13 #include "components/nacl/common/pnacl_types.h" 13 #include "components/nacl/common/pnacl_types.h"
14 #include "content/public/common/common_param_traits.h" 14 #include "content/public/common/common_param_traits.h"
15 #include "ipc/ipc_channel_handle.h" 15 #include "ipc/ipc_channel_handle.h"
16 #include "ipc/ipc_message_macros.h" 16 #include "ipc/ipc_message_macros.h"
17 #include "ipc/ipc_platform_file.h" 17 #include "ipc/ipc_platform_file.h"
18 #include "url/gurl.h" 18 #include "url/gurl.h"
19 19
20 #define IPC_MESSAGE_START NaClHostMsgStart 20 #define IPC_MESSAGE_START NaClHostMsgStart
21 21
22 IPC_STRUCT_TRAITS_BEGIN(nacl::NaClLaunchParams) 22 IPC_STRUCT_TRAITS_BEGIN(nacl::NaClLaunchParams)
23 IPC_STRUCT_TRAITS_MEMBER(manifest_url) 23 IPC_STRUCT_TRAITS_MEMBER(manifest_url)
24 IPC_STRUCT_TRAITS_MEMBER(nexe_file) 24 IPC_STRUCT_TRAITS_MEMBER(nexe_file)
25 IPC_STRUCT_TRAITS_MEMBER(nexe_token_lo)
26 IPC_STRUCT_TRAITS_MEMBER(nexe_token_hi)
25 IPC_STRUCT_TRAITS_MEMBER(render_view_id) 27 IPC_STRUCT_TRAITS_MEMBER(render_view_id)
26 IPC_STRUCT_TRAITS_MEMBER(permission_bits) 28 IPC_STRUCT_TRAITS_MEMBER(permission_bits)
27 IPC_STRUCT_TRAITS_MEMBER(uses_irt) 29 IPC_STRUCT_TRAITS_MEMBER(uses_irt)
28 IPC_STRUCT_TRAITS_MEMBER(uses_nonsfi_mode) 30 IPC_STRUCT_TRAITS_MEMBER(uses_nonsfi_mode)
29 IPC_STRUCT_TRAITS_MEMBER(enable_dyncode_syscalls) 31 IPC_STRUCT_TRAITS_MEMBER(enable_dyncode_syscalls)
30 IPC_STRUCT_TRAITS_MEMBER(enable_exception_handling) 32 IPC_STRUCT_TRAITS_MEMBER(enable_exception_handling)
31 IPC_STRUCT_TRAITS_MEMBER(enable_crash_throttling) 33 IPC_STRUCT_TRAITS_MEMBER(enable_crash_throttling)
32 IPC_STRUCT_TRAITS_END() 34 IPC_STRUCT_TRAITS_END()
33 35
34 IPC_STRUCT_TRAITS_BEGIN(nacl::NaClLaunchResult) 36 IPC_STRUCT_TRAITS_BEGIN(nacl::NaClLaunchResult)
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
113 // processors are online. 115 // processors are online.
114 IPC_SYNC_MESSAGE_CONTROL0_1(NaClHostMsg_NaClGetNumProcessors, 116 IPC_SYNC_MESSAGE_CONTROL0_1(NaClHostMsg_NaClGetNumProcessors,
115 int /* Number of processors */) 117 int /* Number of processors */)
116 118
117 // A renderer sends this to the browser process to determine if the 119 // A renderer sends this to the browser process to determine if the
118 // NaCl application started from the given NMF URL will be debugged. 120 // NaCl application started from the given NMF URL will be debugged.
119 // If not (filtered out by commandline flags), it sets should_debug to false. 121 // If not (filtered out by commandline flags), it sets should_debug to false.
120 IPC_SYNC_MESSAGE_CONTROL1_1(NaClHostMsg_NaClDebugEnabledForURL, 122 IPC_SYNC_MESSAGE_CONTROL1_1(NaClHostMsg_NaClDebugEnabledForURL,
121 GURL /* alleged URL of NMF file */, 123 GURL /* alleged URL of NMF file */,
122 bool /* should debug */) 124 bool /* should debug */)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698