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

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

Issue 23819033: Simplify PPB_NetworkMonitor proxy. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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
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/files/file_path.h" 10 #include "base/files/file_path.h"
(...skipping 607 matching lines...) Expand 10 before | Expand all | Expand 10 after
618 // PPP_Messaging. 618 // PPP_Messaging.
619 IPC_MESSAGE_ROUTED2(PpapiMsg_PPPMessaging_HandleMessage, 619 IPC_MESSAGE_ROUTED2(PpapiMsg_PPPMessaging_HandleMessage,
620 PP_Instance /* instance */, 620 PP_Instance /* instance */,
621 ppapi::proxy::SerializedVar /* message */) 621 ppapi::proxy::SerializedVar /* message */)
622 622
623 // PPP_MouseLock. 623 // PPP_MouseLock.
624 IPC_MESSAGE_ROUTED1(PpapiMsg_PPPMouseLock_MouseLockLost, 624 IPC_MESSAGE_ROUTED1(PpapiMsg_PPPMouseLock_MouseLockLost,
625 PP_Instance /* instance */) 625 PP_Instance /* instance */)
626 626
627 // PPB_NetworkMonitor_Private. 627 // PPB_NetworkMonitor_Private.
628 IPC_MESSAGE_ROUTED2(PpapiMsg_PPBNetworkMonitor_NetworkList, 628 IPC_MESSAGE_CONTROL1(PpapiMsg_NetworkMonitor_NetworkList,
629 uint32 /* plugin_dispatcher_id */, 629 ppapi::NetworkList /* network_list */)
630 ppapi::NetworkList /* network_list */) 630 IPC_MESSAGE_CONTROL0(PpapiMsg_NetworkMonitor_Forbidden)
631 631
632 // PPP_Printing 632 // PPP_Printing
633 IPC_SYNC_MESSAGE_ROUTED1_1(PpapiMsg_PPPPrinting_QuerySupportedFormats, 633 IPC_SYNC_MESSAGE_ROUTED1_1(PpapiMsg_PPPPrinting_QuerySupportedFormats,
634 PP_Instance /* instance */, 634 PP_Instance /* instance */,
635 uint32_t /* result */) 635 uint32_t /* result */)
636 IPC_SYNC_MESSAGE_ROUTED2_1(PpapiMsg_PPPPrinting_Begin, 636 IPC_SYNC_MESSAGE_ROUTED2_1(PpapiMsg_PPPPrinting_Begin,
637 PP_Instance /* instance */, 637 PP_Instance /* instance */,
638 std::string /* settings_string */, 638 std::string /* settings_string */,
639 int32_t /* result */) 639 int32_t /* result */)
640 IPC_SYNC_MESSAGE_ROUTED2_1(PpapiMsg_PPPPrinting_PrintPages, 640 IPC_SYNC_MESSAGE_ROUTED2_1(PpapiMsg_PPPPrinting_PrintPages,
(...skipping 431 matching lines...) Expand 10 before | Expand all | Expand 10 after
1072 PP_Instance /* instance */, 1072 PP_Instance /* instance */,
1073 PP_Resource /* decrypted_frame, PPB_Buffer_Dev */, 1073 PP_Resource /* decrypted_frame, PPB_Buffer_Dev */,
1074 std::string /* serialized_block_info */) 1074 std::string /* serialized_block_info */)
1075 IPC_MESSAGE_ROUTED3(PpapiHostMsg_PPBInstance_DeliverSamples, 1075 IPC_MESSAGE_ROUTED3(PpapiHostMsg_PPBInstance_DeliverSamples,
1076 PP_Instance /* instance */, 1076 PP_Instance /* instance */,
1077 PP_Resource /* audio_frames, PPB_Buffer_Dev */, 1077 PP_Resource /* audio_frames, PPB_Buffer_Dev */,
1078 std::string /* serialized_block_info */) 1078 std::string /* serialized_block_info */)
1079 #endif // !defined(OS_NACL) && !defined(NACL_WIN64) 1079 #endif // !defined(OS_NACL) && !defined(NACL_WIN64)
1080 1080
1081 // PPB_NetworkMonitor_Private. 1081 // PPB_NetworkMonitor_Private.
1082 IPC_MESSAGE_CONTROL1(PpapiHostMsg_PPBNetworkMonitor_Start, 1082 IPC_MESSAGE_CONTROL0(PpapiHostMsg_NetworkMonitor_Create)
yzshen1 2013/09/11 22:51:26 Messages for the host/resource design are at the b
Sergey Ulanov 2013/09/12 07:01:51 Done.
1083 uint32 /* plugin_dispatcher_id */)
1084 IPC_MESSAGE_CONTROL1(PpapiHostMsg_PPBNetworkMonitor_Stop,
1085 uint32 /* plugin_dispatcher_id */)
1086 1083
1087 // PPB_Testing. 1084 // PPB_Testing.
1088 IPC_SYNC_MESSAGE_ROUTED3_1( 1085 IPC_SYNC_MESSAGE_ROUTED3_1(
1089 PpapiHostMsg_PPBTesting_ReadImageData, 1086 PpapiHostMsg_PPBTesting_ReadImageData,
1090 ppapi::HostResource /* device_context_2d */, 1087 ppapi::HostResource /* device_context_2d */,
1091 ppapi::HostResource /* image */, 1088 ppapi::HostResource /* image */,
1092 PP_Point /* top_left */, 1089 PP_Point /* top_left */,
1093 PP_Bool /* result */) 1090 PP_Bool /* result */)
1094 IPC_SYNC_MESSAGE_ROUTED1_1(PpapiHostMsg_PPBTesting_GetLiveObjectsForInstance, 1091 IPC_SYNC_MESSAGE_ROUTED1_1(PpapiHostMsg_PPBTesting_GetLiveObjectsForInstance,
1095 PP_Instance /* instance */, 1092 PP_Instance /* instance */,
(...skipping 925 matching lines...) Expand 10 before | Expand all | Expand 10 after
2021 IPC_MESSAGE_CONTROL1(PpapiHostMsg_Talk_RequestPermission, 2018 IPC_MESSAGE_CONTROL1(PpapiHostMsg_Talk_RequestPermission,
2022 PP_TalkPermission /* permission */) 2019 PP_TalkPermission /* permission */)
2023 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Talk_RequestPermissionReply) 2020 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Talk_RequestPermissionReply)
2024 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Talk_StartRemoting) 2021 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Talk_StartRemoting)
2025 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Talk_StartRemotingReply) 2022 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Talk_StartRemotingReply)
2026 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Talk_StopRemoting) 2023 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Talk_StopRemoting)
2027 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Talk_StopRemotingReply) 2024 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Talk_StopRemotingReply)
2028 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_Talk_NotifyEvent, PP_TalkEvent /* event */) 2025 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_Talk_NotifyEvent, PP_TalkEvent /* event */)
2029 2026
2030 #endif // !defined(OS_NACL) && !defined(NACL_WIN64) 2027 #endif // !defined(OS_NACL) && !defined(NACL_WIN64)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698