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

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

Issue 11316316: Implement an IsAllowed function in the pepper PPB_Broker_Trusted API (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years 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 (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 <string> 6 #include <string>
7 #include <vector> 7 #include <vector>
8 8
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 #include "base/file_path.h" 10 #include "base/file_path.h"
(...skipping 1415 matching lines...) Expand 10 before | Expand all | Expand 10 after
1426 1426
1427 IPC_SYNC_MESSAGE_CONTROL2_2(PpapiHostMsg_ResourceSyncCall, 1427 IPC_SYNC_MESSAGE_CONTROL2_2(PpapiHostMsg_ResourceSyncCall,
1428 ppapi::proxy::ResourceMessageCallParams /* call_params */, 1428 ppapi::proxy::ResourceMessageCallParams /* call_params */,
1429 IPC::Message /* nested_msg */, 1429 IPC::Message /* nested_msg */,
1430 ppapi::proxy::ResourceMessageReplyParams /* reply_params */, 1430 ppapi::proxy::ResourceMessageReplyParams /* reply_params */,
1431 IPC::Message /* reply_msg */) 1431 IPC::Message /* reply_msg */)
1432 1432
1433 //----------------------------------------------------------------------------- 1433 //-----------------------------------------------------------------------------
1434 // Messages for resources using call/reply above. 1434 // Messages for resources using call/reply above.
1435 1435
1436 // Broker.
1437 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Broker_Create)
1438 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Broker_IsAllowed)
brettw 2012/12/05 23:00:26 Can you document this here? I.e. that it's a call
raymes 2012/12/07 21:32:19 Done.
1439
1436 // File chooser. 1440 // File chooser.
1437 IPC_MESSAGE_CONTROL0(PpapiHostMsg_FileChooser_Create) 1441 IPC_MESSAGE_CONTROL0(PpapiHostMsg_FileChooser_Create)
1438 IPC_MESSAGE_CONTROL4(PpapiHostMsg_FileChooser_Show, 1442 IPC_MESSAGE_CONTROL4(PpapiHostMsg_FileChooser_Show,
1439 bool /* save_as */, 1443 bool /* save_as */,
1440 bool /* open_multiple */, 1444 bool /* open_multiple */,
1441 std::string /* suggested_file_name */, 1445 std::string /* suggested_file_name */,
1442 std::vector<std::string> /* accept_mime_types */) 1446 std::vector<std::string> /* accept_mime_types */)
1443 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_FileChooser_ShowReply, 1447 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_FileChooser_ShowReply,
1444 std::vector<ppapi::PPB_FileRef_CreateInfo> /* files */) 1448 std::vector<ppapi::PPB_FileRef_CreateInfo> /* files */)
1445 1449
(...skipping 236 matching lines...) Expand 10 before | Expand all | Expand 10 after
1682 std::vector<ppapi::HostResource> /* buffers */, 1686 std::vector<ppapi::HostResource> /* buffers */,
1683 uint32_t /* buffer_size */) 1687 uint32_t /* buffer_size */)
1684 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnStatus, 1688 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnStatus,
1685 uint32_t /* status */) 1689 uint32_t /* status */)
1686 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnError, 1690 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnError,
1687 uint32_t /* error */) 1691 uint32_t /* error */)
1688 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnBufferReady, 1692 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnBufferReady,
1689 uint32_t /* buffer */) 1693 uint32_t /* buffer */)
1690 1694
1691 #endif // !defined(OS_NACL) && !defined(NACL_WIN64) 1695 #endif // !defined(OS_NACL) && !defined(NACL_WIN64)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698