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

Side by Side Diff: ppapi/proxy/ppapi_messages.h

Issue 1512733003: PNaCl: Use Chrome IPC to talk to the linker process, instead of SRPC (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Rebase Created 4 years, 11 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 | « ppapi/proxy/nacl_message_scanner.cc ('k') | no next file » | 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 // Multiply-included message header, no traditional include guard. 5 // Multiply-included message header, no traditional include guard.
6 6
7 #include <stdint.h> 7 #include <stdint.h>
8 8
9 #include <map> 9 #include <map>
10 #include <string> 10 #include <string>
(...skipping 853 matching lines...) Expand 10 before | Expand all | Expand 10 after
864 ppapi::proxy::PPPDecryptor_Buffer /* buffer */, 864 ppapi::proxy::PPPDecryptor_Buffer /* buffer */,
865 std::string /* serialized_block_info */) 865 std::string /* serialized_block_info */)
866 866
867 // PPP_Instance_Private. 867 // PPP_Instance_Private.
868 IPC_SYNC_MESSAGE_ROUTED1_1(PpapiMsg_PPPInstancePrivate_GetInstanceObject, 868 IPC_SYNC_MESSAGE_ROUTED1_1(PpapiMsg_PPPInstancePrivate_GetInstanceObject,
869 PP_Instance /* instance */, 869 PP_Instance /* instance */,
870 ppapi::proxy::SerializedVar /* result */) 870 ppapi::proxy::SerializedVar /* result */)
871 871
872 #endif // !defined(OS_NACL) && !defined(NACL_WIN64) 872 #endif // !defined(OS_NACL) && !defined(NACL_WIN64)
873 873
874 // This message is sent from the renderer to the PNaCl linker process
875 // (NaCl untrusted code -- a nexe). This message tells the PNaCl
876 // linker to link the given object files together to produce a nexe
877 // file, writing the output to the given file handle.
878 IPC_SYNC_MESSAGE_CONTROL2_1(PpapiMsg_PnaclTranslatorLink,
879 /* object file FDs for inputs */
880 std::vector<ppapi::proxy::SerializedHandle>,
881 /* nexe file FD for output */
882 ppapi::proxy::SerializedHandle,
883 /* success status result */
884 bool)
885
874 // Reports to the browser that a plugin has been active. 886 // Reports to the browser that a plugin has been active.
875 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Keepalive) 887 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Keepalive)
876 888
877 // ----------------------------------------------------------------------------- 889 // -----------------------------------------------------------------------------
878 // These are from the plugin to the renderer. 890 // These are from the plugin to the renderer.
879 891
880 // Reply to PpapiMsg_CreateChannel. The handle will be NULL if the channel 892 // Reply to PpapiMsg_CreateChannel. The handle will be NULL if the channel
881 // could not be established. This could be because the IPC could not be created 893 // could not be established. This could be because the IPC could not be created
882 // for some weird reason, but more likely that the plugin failed to load or 894 // for some weird reason, but more likely that the plugin failed to load or
883 // initialize properly. 895 // initialize properly.
(...skipping 1501 matching lines...) Expand 10 before | Expand all | Expand 10 after
2385 std::vector<ppapi::HostResource> /* buffers */, 2397 std::vector<ppapi::HostResource> /* buffers */,
2386 uint32_t /* buffer_size */) 2398 uint32_t /* buffer_size */)
2387 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnStatus, 2399 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnStatus,
2388 uint32_t /* status */) 2400 uint32_t /* status */)
2389 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnError, 2401 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnError,
2390 uint32_t /* error */) 2402 uint32_t /* error */)
2391 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnBufferReady, 2403 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnBufferReady,
2392 uint32_t /* buffer */) 2404 uint32_t /* buffer */)
2393 2405
2394 #endif // !defined(OS_NACL) && !defined(NACL_WIN64) 2406 #endif // !defined(OS_NACL) && !defined(NACL_WIN64)
OLDNEW
« no previous file with comments | « ppapi/proxy/nacl_message_scanner.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698