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

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

Issue 10854209: Modify the PPAPI CDM interface to pass more info. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Updates that resolve xhwang's comments. Created 8 years, 4 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 (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 571 matching lines...) Expand 10 before | Expand all | Expand 10 after
582 PpapiMsg_PPBBroker_ConnectComplete, 582 PpapiMsg_PPBBroker_ConnectComplete,
583 ppapi::HostResource /* broker */, 583 ppapi::HostResource /* broker */,
584 IPC::PlatformFileForTransit /* handle */, 584 IPC::PlatformFileForTransit /* handle */,
585 int32_t /* result */) 585 int32_t /* result */)
586 586
587 // PPP_ContentDecryptor_Dev 587 // PPP_ContentDecryptor_Dev
588 IPC_MESSAGE_ROUTED3(PpapiMsg_PPPContentDecryptor_GenerateKeyRequest, 588 IPC_MESSAGE_ROUTED3(PpapiMsg_PPPContentDecryptor_GenerateKeyRequest,
589 PP_Instance /* instance */, 589 PP_Instance /* instance */,
590 ppapi::proxy::SerializedVar /* key_system, String */, 590 ppapi::proxy::SerializedVar /* key_system, String */,
591 ppapi::proxy::SerializedVar /* init_data, ArrayBuffer */) 591 ppapi::proxy::SerializedVar /* init_data, ArrayBuffer */)
592 IPC_MESSAGE_ROUTED3(PpapiMsg_PPPContentDecryptor_AddKey, 592 IPC_MESSAGE_ROUTED4(PpapiMsg_PPPContentDecryptor_AddKey,
593 PP_Instance /* instance */, 593 PP_Instance /* instance */,
594 ppapi::proxy::SerializedVar /* session_id, String */, 594 ppapi::proxy::SerializedVar /* session_id, String */,
595 ppapi::proxy::SerializedVar /* key, ArrayBuffer */) 595 ppapi::proxy::SerializedVar /* key, ArrayBuffer */,
596 ppapi::proxy::SerializedVar /* init_data, ArrayBuffer */)
596 IPC_MESSAGE_ROUTED2(PpapiMsg_PPPContentDecryptor_CancelKeyRequest, 597 IPC_MESSAGE_ROUTED2(PpapiMsg_PPPContentDecryptor_CancelKeyRequest,
597 PP_Instance /* instance */, 598 PP_Instance /* instance */,
598 ppapi::proxy::SerializedVar /* session_id, String */) 599 ppapi::proxy::SerializedVar /* session_id, String */)
599 IPC_MESSAGE_ROUTED3(PpapiMsg_PPPContentDecryptor_Decrypt, 600 IPC_MESSAGE_ROUTED3(PpapiMsg_PPPContentDecryptor_Decrypt,
600 PP_Instance /* instance */, 601 PP_Instance /* instance */,
601 ppapi::proxy::PPPDecryptor_Buffer /* buffer */, 602 ppapi::proxy::PPPDecryptor_Buffer /* buffer */,
602 int32_t /* request_id */) 603 std::string /* serialized_block_info */)
603 IPC_MESSAGE_ROUTED3(PpapiMsg_PPPContentDecryptor_DecryptAndDecode, 604 IPC_MESSAGE_ROUTED3(PpapiMsg_PPPContentDecryptor_DecryptAndDecode,
604 PP_Instance /* instance */, 605 PP_Instance /* instance */,
605 ppapi::HostResource /* encrypted_block, PPB_Buffer_Dev */, 606 ppapi::proxy::PPPDecryptor_Buffer /* buffer */,
606 int32_t /* request_id */) 607 std::string /* serialized_block_info */)
607 608
608 // PPB_NetworkMonitor_Private. 609 // PPB_NetworkMonitor_Private.
609 IPC_MESSAGE_ROUTED2(PpapiMsg_PPBNetworkMonitor_NetworkList, 610 IPC_MESSAGE_ROUTED2(PpapiMsg_PPBNetworkMonitor_NetworkList,
610 uint32 /* plugin_dispatcher_id */, 611 uint32 /* plugin_dispatcher_id */,
611 ppapi::NetworkList /* network_list */) 612 ppapi::NetworkList /* network_list */)
612 613
613 // PPB_Talk 614 // PPB_Talk
614 IPC_MESSAGE_ROUTED3( 615 IPC_MESSAGE_ROUTED3(
615 PpapiMsg_PPBTalk_GetPermissionACK, 616 PpapiMsg_PPBTalk_GetPermissionACK,
616 uint32 /* plugin_dispatcher_id */, 617 uint32 /* plugin_dispatcher_id */,
(...skipping 567 matching lines...) Expand 10 before | Expand all | Expand 10 after
1184 ppapi::proxy::SerializedVar /* default_url, String */) 1185 ppapi::proxy::SerializedVar /* default_url, String */)
1185 IPC_MESSAGE_ROUTED5(PpapiHostMsg_PPBInstance_KeyError, 1186 IPC_MESSAGE_ROUTED5(PpapiHostMsg_PPBInstance_KeyError,
1186 PP_Instance /* instance */, 1187 PP_Instance /* instance */,
1187 ppapi::proxy::SerializedVar /* key_system, String */, 1188 ppapi::proxy::SerializedVar /* key_system, String */,
1188 ppapi::proxy::SerializedVar /* session_id, String */, 1189 ppapi::proxy::SerializedVar /* session_id, String */,
1189 int32_t /* media_error */, 1190 int32_t /* media_error */,
1190 int32_t /* system_code */) 1191 int32_t /* system_code */)
1191 IPC_MESSAGE_ROUTED3(PpapiHostMsg_PPBInstance_DeliverBlock, 1192 IPC_MESSAGE_ROUTED3(PpapiHostMsg_PPBInstance_DeliverBlock,
1192 PP_Instance /* instance */, 1193 PP_Instance /* instance */,
1193 PP_Resource /* decrypted_block, PPB_Buffer_Dev */, 1194 PP_Resource /* decrypted_block, PPB_Buffer_Dev */,
1194 int32_t /* request_id */) 1195 std::string /* serialized_block_info */)
1195 IPC_MESSAGE_ROUTED3(PpapiHostMsg_PPBInstance_DeliverFrame, 1196 IPC_MESSAGE_ROUTED3(PpapiHostMsg_PPBInstance_DeliverFrame,
1196 PP_Instance /* instance */, 1197 PP_Instance /* instance */,
1197 PP_Resource /* decrypted_frame, PPB_Buffer_Dev */, 1198 PP_Resource /* decrypted_frame, PPB_Buffer_Dev */,
1198 int32_t /* request_id */) 1199 std::string /* serialized_block_info */)
1199 IPC_MESSAGE_ROUTED3(PpapiHostMsg_PPBInstance_DeliverSamples, 1200 IPC_MESSAGE_ROUTED3(PpapiHostMsg_PPBInstance_DeliverSamples,
1200 PP_Instance /* instance */, 1201 PP_Instance /* instance */,
1201 PP_Resource /* decrypted_samples, PPB_Buffer_Dev */, 1202 PP_Resource /* decrypted_samples, PPB_Buffer_Dev */,
1202 int32_t /* request_id */) 1203 std::string /* serialized_block_info */)
1203 1204
1204 // PPB_NetworkMonitor_Private. 1205 // PPB_NetworkMonitor_Private.
1205 IPC_MESSAGE_CONTROL1(PpapiHostMsg_PPBNetworkMonitor_Start, 1206 IPC_MESSAGE_CONTROL1(PpapiHostMsg_PPBNetworkMonitor_Start,
1206 uint32 /* plugin_dispatcher_id */) 1207 uint32 /* plugin_dispatcher_id */)
1207 IPC_MESSAGE_CONTROL1(PpapiHostMsg_PPBNetworkMonitor_Stop, 1208 IPC_MESSAGE_CONTROL1(PpapiHostMsg_PPBNetworkMonitor_Stop,
1208 uint32 /* plugin_dispatcher_id */) 1209 uint32 /* plugin_dispatcher_id */)
1209 1210
1210 // PPB_HostResolver_Private. 1211 // PPB_HostResolver_Private.
1211 IPC_MESSAGE_CONTROL5(PpapiHostMsg_PPBHostResolver_Resolve, 1212 IPC_MESSAGE_CONTROL5(PpapiHostMsg_PPBHostResolver_Resolve,
1212 int32 /* routing_id */, 1213 int32 /* routing_id */,
(...skipping 305 matching lines...) Expand 10 before | Expand all | Expand 10 after
1518 1519
1519 // File chooser. 1520 // File chooser.
1520 IPC_MESSAGE_CONTROL0(PpapiHostMsg_FileChooser_Create) 1521 IPC_MESSAGE_CONTROL0(PpapiHostMsg_FileChooser_Create)
1521 IPC_MESSAGE_CONTROL4(PpapiHostMsg_FileChooser_Show, 1522 IPC_MESSAGE_CONTROL4(PpapiHostMsg_FileChooser_Show,
1522 bool /* save_as */, 1523 bool /* save_as */,
1523 bool /* open_multiple */, 1524 bool /* open_multiple */,
1524 std::string /* suggested_file_name */, 1525 std::string /* suggested_file_name */,
1525 std::vector<std::string> /* accept_mime_types */) 1526 std::vector<std::string> /* accept_mime_types */)
1526 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_FileChooser_ShowReply, 1527 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_FileChooser_ShowReply,
1527 std::vector<ppapi::PPB_FileRef_CreateInfo> /* files */) 1528 std::vector<ppapi::PPB_FileRef_CreateInfo> /* files */)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698