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

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

Issue 418423002: Pepper: Stop using SRPC for irt_open_resource(). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased Created 6 years, 3 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
« no previous file with comments | « components/nacl/browser/nacl_process_host.cc ('k') | components/nacl/loader/DEPS » ('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 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 // Defines messages between the browser and NaCl process. 5 // Defines messages between the browser and NaCl process.
6 6
7 // Multiply-included message file, no traditional include guard. 7 // Multiply-included message file, no traditional include guard.
8 #include "base/process/process.h" 8 #include "base/process/process.h"
9 #include "components/nacl/common/nacl_types.h" 9 #include "components/nacl/common/nacl_types.h"
10 #include "ipc/ipc_channel_handle.h" 10 #include "ipc/ipc_channel_handle.h"
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
84 bool /* Can validation be skipped? */) 84 bool /* Can validation be skipped? */)
85 85
86 // Used by the NaCl process to add a validation signature to the validation 86 // Used by the NaCl process to add a validation signature to the validation
87 // database in the browser. 87 // database in the browser.
88 IPC_MESSAGE_CONTROL1(NaClProcessMsg_SetKnownToValidate, 88 IPC_MESSAGE_CONTROL1(NaClProcessMsg_SetKnownToValidate,
89 std::string /* A validation signature */) 89 std::string /* A validation signature */)
90 90
91 // Used by the NaCl process to acquire trusted information about a file directly 91 // Used by the NaCl process to acquire trusted information about a file directly
92 // from the browser, including the file's path as well as a fresh version of the 92 // from the browser, including the file's path as well as a fresh version of the
93 // file handle. 93 // file handle.
94 // TODO(teravest): Remove the synchronous version of this message once initial
95 // nexe validation caching stops using this.
94 IPC_SYNC_MESSAGE_CONTROL2_2(NaClProcessMsg_ResolveFileToken, 96 IPC_SYNC_MESSAGE_CONTROL2_2(NaClProcessMsg_ResolveFileToken,
95 uint64, /* file_token_lo */ 97 uint64, /* file_token_lo */
96 uint64, /* file_token_hi */ 98 uint64, /* file_token_hi */
97 IPC::PlatformFileForTransit, /* fd */ 99 IPC::PlatformFileForTransit, /* fd */
98 base::FilePath /* Path opened to get fd */) 100 base::FilePath /* Path opened to get fd */)
99 101
102 IPC_MESSAGE_CONTROL2(NaClProcessMsg_ResolveFileTokenAsync,
103 uint64, /* file_token_lo */
104 uint64 /* file_token_hi */)
105 IPC_MESSAGE_CONTROL4(NaClProcessMsg_ResolveFileTokenAsyncReply,
106 uint64, /* file_token_lo */
107 uint64, /* file_token_hi */
108 IPC::PlatformFileForTransit, /* fd */
109 base::FilePath /* Path opened to get fd */)
110
100 // Notify the browser process that the server side of the PPAPI channel was 111 // Notify the browser process that the server side of the PPAPI channel was
101 // created successfully. 112 // created successfully.
102 IPC_MESSAGE_CONTROL4(NaClProcessHostMsg_PpapiChannelsCreated, 113 IPC_MESSAGE_CONTROL4(NaClProcessHostMsg_PpapiChannelsCreated,
103 IPC::ChannelHandle, /* browser_channel_handle */ 114 IPC::ChannelHandle, /* browser_channel_handle */
104 IPC::ChannelHandle, /* ppapi_renderer_channel_handle */ 115 IPC::ChannelHandle, /* ppapi_renderer_channel_handle */
105 IPC::ChannelHandle, /* trusted_renderer_channel_handle */ 116 IPC::ChannelHandle, /* trusted_renderer_channel_handle */
106 IPC::ChannelHandle /* manifest_service_channel_handle */) 117 IPC::ChannelHandle /* manifest_service_channel_handle */)
OLDNEW
« no previous file with comments | « components/nacl/browser/nacl_process_host.cc ('k') | components/nacl/loader/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698