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

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: Review Created 4 years, 12 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
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 #include <map> 6 #include <map>
7 #include <string> 7 #include <string>
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 850 matching lines...) Expand 10 before | Expand all | Expand 10 after
861 ppapi::proxy::PPPDecryptor_Buffer /* buffer */, 861 ppapi::proxy::PPPDecryptor_Buffer /* buffer */,
862 std::string /* serialized_block_info */) 862 std::string /* serialized_block_info */)
863 863
864 // PPP_Instance_Private. 864 // PPP_Instance_Private.
865 IPC_SYNC_MESSAGE_ROUTED1_1(PpapiMsg_PPPInstancePrivate_GetInstanceObject, 865 IPC_SYNC_MESSAGE_ROUTED1_1(PpapiMsg_PPPInstancePrivate_GetInstanceObject,
866 PP_Instance /* instance */, 866 PP_Instance /* instance */,
867 ppapi::proxy::SerializedVar /* result */) 867 ppapi::proxy::SerializedVar /* result */)
868 868
869 #endif // !defined(OS_NACL) && !defined(NACL_WIN64) 869 #endif // !defined(OS_NACL) && !defined(NACL_WIN64)
870 870
871 // This message is sent from the renderer to the PNaCl linker process
872 // (NaCl untrusted code -- a nexe). This message tells the PNaCl
873 // linker to link the given object files together to produce a nexe
874 // file, writing the output to the given file handle.
875 IPC_SYNC_MESSAGE_CONTROL2_1(PpapiMsg_PnaclTranslatorLink,
876 /* object file FDs for inputs */
877 std::vector<ppapi::proxy::SerializedHandle>,
878 /* nexe file FD for output */
879 ppapi::proxy::SerializedHandle,
880 /* success status result */
881 bool)
882
871 // Reports to the browser that a plugin has been active. 883 // Reports to the browser that a plugin has been active.
872 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Keepalive) 884 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Keepalive)
873 885
874 // ----------------------------------------------------------------------------- 886 // -----------------------------------------------------------------------------
875 // These are from the plugin to the renderer. 887 // These are from the plugin to the renderer.
876 888
877 // Reply to PpapiMsg_CreateChannel. The handle will be NULL if the channel 889 // Reply to PpapiMsg_CreateChannel. The handle will be NULL if the channel
878 // could not be established. This could be because the IPC could not be created 890 // could not be established. This could be because the IPC could not be created
879 // for some weird reason, but more likely that the plugin failed to load or 891 // for some weird reason, but more likely that the plugin failed to load or
880 // initialize properly. 892 // initialize properly.
(...skipping 1489 matching lines...) Expand 10 before | Expand all | Expand 10 after
2370 std::vector<ppapi::HostResource> /* buffers */, 2382 std::vector<ppapi::HostResource> /* buffers */,
2371 uint32_t /* buffer_size */) 2383 uint32_t /* buffer_size */)
2372 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnStatus, 2384 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnStatus,
2373 uint32_t /* status */) 2385 uint32_t /* status */)
2374 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnError, 2386 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnError,
2375 uint32_t /* error */) 2387 uint32_t /* error */)
2376 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnBufferReady, 2388 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnBufferReady,
2377 uint32_t /* buffer */) 2389 uint32_t /* buffer */)
2378 2390
2379 #endif // !defined(OS_NACL) && !defined(NACL_WIN64) 2391 #endif // !defined(OS_NACL) && !defined(NACL_WIN64)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698