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

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

Issue 10735056: AllowBroadcast() is exposed to NaCl. (Closed) Base URL: http://git.chromium.org/chromium/src.git@udp_broadcast
Patch Set: Deleted callbacks. 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
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 17 matching lines...) Expand all
28 #include "ppapi/c/pp_module.h" 28 #include "ppapi/c/pp_module.h"
29 #include "ppapi/c/pp_point.h" 29 #include "ppapi/c/pp_point.h"
30 #include "ppapi/c/pp_rect.h" 30 #include "ppapi/c/pp_rect.h"
31 #include "ppapi/c/pp_resource.h" 31 #include "ppapi/c/pp_resource.h"
32 #include "ppapi/c/pp_size.h" 32 #include "ppapi/c/pp_size.h"
33 #include "ppapi/c/pp_time.h" 33 #include "ppapi/c/pp_time.h"
34 #include "ppapi/c/private/ppb_flash.h" 34 #include "ppapi/c/private/ppb_flash.h"
35 #include "ppapi/c/private/ppb_host_resolver_private.h" 35 #include "ppapi/c/private/ppb_host_resolver_private.h"
36 #include "ppapi/c/private/ppb_net_address_private.h" 36 #include "ppapi/c/private/ppb_net_address_private.h"
37 #include "ppapi/c/private/ppb_tcp_socket_private.h" 37 #include "ppapi/c/private/ppb_tcp_socket_private.h"
38 #include "ppapi/c/private/ppb_udp_socket_private.h"
38 #include "ppapi/c/private/ppp_flash_browser_operations.h" 39 #include "ppapi/c/private/ppp_flash_browser_operations.h"
39 #include "ppapi/proxy/ppapi_param_traits.h" 40 #include "ppapi/proxy/ppapi_param_traits.h"
40 #include "ppapi/proxy/ppapi_proxy_export.h" 41 #include "ppapi/proxy/ppapi_proxy_export.h"
41 #include "ppapi/proxy/resource_message_params.h" 42 #include "ppapi/proxy/resource_message_params.h"
42 #include "ppapi/proxy/serialized_flash_menu.h" 43 #include "ppapi/proxy/serialized_flash_menu.h"
43 #include "ppapi/proxy/serialized_structs.h" 44 #include "ppapi/proxy/serialized_structs.h"
44 #include "ppapi/shared_impl/ppapi_preferences.h" 45 #include "ppapi/shared_impl/ppapi_preferences.h"
45 #include "ppapi/shared_impl/ppb_device_ref_shared.h" 46 #include "ppapi/shared_impl/ppb_device_ref_shared.h"
46 #include "ppapi/shared_impl/ppb_input_event_shared.h" 47 #include "ppapi/shared_impl/ppb_input_event_shared.h"
47 #include "ppapi/shared_impl/ppb_network_list_private_shared.h" 48 #include "ppapi/shared_impl/ppb_network_list_private_shared.h"
48 #include "ppapi/shared_impl/ppb_url_request_info_shared.h" 49 #include "ppapi/shared_impl/ppb_url_request_info_shared.h"
49 #include "ppapi/shared_impl/ppb_view_shared.h" 50 #include "ppapi/shared_impl/ppb_view_shared.h"
50 #include "ppapi/shared_impl/ppp_flash_browser_operations_shared.h" 51 #include "ppapi/shared_impl/ppp_flash_browser_operations_shared.h"
51 #include "ppapi/shared_impl/private/ppb_host_resolver_shared.h" 52 #include "ppapi/shared_impl/private/ppb_host_resolver_shared.h"
52 #include "ppapi/shared_impl/private/ppb_x509_certificate_private_shared.h" 53 #include "ppapi/shared_impl/private/ppb_x509_certificate_private_shared.h"
53 54
54 #undef IPC_MESSAGE_EXPORT 55 #undef IPC_MESSAGE_EXPORT
55 #define IPC_MESSAGE_EXPORT PPAPI_PROXY_EXPORT 56 #define IPC_MESSAGE_EXPORT PPAPI_PROXY_EXPORT
56 57
57 #define IPC_MESSAGE_START PpapiMsgStart 58 #define IPC_MESSAGE_START PpapiMsgStart
58 59
59 IPC_ENUM_TRAITS(PP_DeviceType_Dev) 60 IPC_ENUM_TRAITS(PP_DeviceType_Dev)
60 IPC_ENUM_TRAITS(PP_Flash_BrowserOperations_Permission) 61 IPC_ENUM_TRAITS(PP_Flash_BrowserOperations_Permission)
61 IPC_ENUM_TRAITS(PP_Flash_BrowserOperations_SettingType) 62 IPC_ENUM_TRAITS(PP_Flash_BrowserOperations_SettingType)
62 IPC_ENUM_TRAITS(PP_FlashSetting) 63 IPC_ENUM_TRAITS(PP_FlashSetting)
63 IPC_ENUM_TRAITS(PP_InputEvent_MouseButton) 64 IPC_ENUM_TRAITS(PP_InputEvent_MouseButton)
64 IPC_ENUM_TRAITS(PP_InputEvent_Type) 65 IPC_ENUM_TRAITS(PP_InputEvent_Type)
65 IPC_ENUM_TRAITS(PP_NetAddressFamily_Private) 66 IPC_ENUM_TRAITS(PP_NetAddressFamily_Private)
67 IPC_ENUM_TRAITS(PP_NetworkListState_Private)
66 IPC_ENUM_TRAITS(PP_NetworkListType_Private) 68 IPC_ENUM_TRAITS(PP_NetworkListType_Private)
67 IPC_ENUM_TRAITS(PP_NetworkListState_Private)
68 IPC_ENUM_TRAITS(PP_PrintOrientation_Dev) 69 IPC_ENUM_TRAITS(PP_PrintOrientation_Dev)
69 IPC_ENUM_TRAITS(PP_PrintOutputFormat_Dev) 70 IPC_ENUM_TRAITS(PP_PrintOutputFormat_Dev)
70 IPC_ENUM_TRAITS(PP_PrintScalingOption_Dev) 71 IPC_ENUM_TRAITS(PP_PrintScalingOption_Dev)
71 IPC_ENUM_TRAITS(PP_TextInput_Type) 72 IPC_ENUM_TRAITS(PP_TextInput_Type)
72 IPC_ENUM_TRAITS(PP_VideoDecodeError_Dev) 73 IPC_ENUM_TRAITS(PP_VideoDecodeError_Dev)
73 IPC_ENUM_TRAITS(PP_VideoDecoder_Profile) 74 IPC_ENUM_TRAITS(PP_VideoDecoder_Profile)
74 75
75 IPC_STRUCT_TRAITS_BEGIN(PP_Point) 76 IPC_STRUCT_TRAITS_BEGIN(PP_Point)
76 IPC_STRUCT_TRAITS_MEMBER(x) 77 IPC_STRUCT_TRAITS_MEMBER(x)
77 IPC_STRUCT_TRAITS_MEMBER(y) 78 IPC_STRUCT_TRAITS_MEMBER(y)
(...skipping 1353 matching lines...) Expand 10 before | Expand all | Expand 10 after
1431 uint32 /* socket_id */, 1432 uint32 /* socket_id */,
1432 std::string /* data */) 1433 std::string /* data */)
1433 IPC_MESSAGE_CONTROL1(PpapiHostMsg_PPBTCPSocket_Disconnect, 1434 IPC_MESSAGE_CONTROL1(PpapiHostMsg_PPBTCPSocket_Disconnect,
1434 uint32 /* socket_id */) 1435 uint32 /* socket_id */)
1435 1436
1436 // PPB_UDPSocket_Private. 1437 // PPB_UDPSocket_Private.
1437 IPC_SYNC_MESSAGE_CONTROL2_1(PpapiHostMsg_PPBUDPSocket_Create, 1438 IPC_SYNC_MESSAGE_CONTROL2_1(PpapiHostMsg_PPBUDPSocket_Create,
1438 int32 /* routing_id */, 1439 int32 /* routing_id */,
1439 uint32 /* plugin_dispatcher_id */, 1440 uint32 /* plugin_dispatcher_id */,
1440 uint32 /* socket_id */) 1441 uint32 /* socket_id */)
1442 IPC_MESSAGE_CONTROL4(PpapiHostMsg_PPBUDPSocket_SetBoolSocketFeature,
1443 int32 /* routing_id */,
1444 uint32 /* socket_id */,
1445 int32_t /* name */,
1446 bool /* value */)
1441 IPC_MESSAGE_CONTROL3(PpapiHostMsg_PPBUDPSocket_Bind, 1447 IPC_MESSAGE_CONTROL3(PpapiHostMsg_PPBUDPSocket_Bind,
1442 int32 /* routing_id */, 1448 int32 /* routing_id */,
1443 uint32 /* socket_id */, 1449 uint32 /* socket_id */,
1444 PP_NetAddress_Private /* net_addr */) 1450 PP_NetAddress_Private /* net_addr */)
1445 IPC_MESSAGE_CONTROL2(PpapiHostMsg_PPBUDPSocket_RecvFrom, 1451 IPC_MESSAGE_CONTROL2(PpapiHostMsg_PPBUDPSocket_RecvFrom,
1446 uint32 /* socket_id */, 1452 uint32 /* socket_id */,
1447 int32_t /* num_bytes */) 1453 int32_t /* num_bytes */)
1448 IPC_MESSAGE_CONTROL3(PpapiHostMsg_PPBUDPSocket_SendTo, 1454 IPC_MESSAGE_CONTROL3(PpapiHostMsg_PPBUDPSocket_SendTo,
1449 uint32 /* socket_id */, 1455 uint32 /* socket_id */,
1450 std::string /* data */, 1456 std::string /* data */,
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
1518 1524
1519 // File chooser. 1525 // File chooser.
1520 IPC_MESSAGE_CONTROL0(PpapiHostMsg_FileChooser_Create) 1526 IPC_MESSAGE_CONTROL0(PpapiHostMsg_FileChooser_Create)
1521 IPC_MESSAGE_CONTROL4(PpapiHostMsg_FileChooser_Show, 1527 IPC_MESSAGE_CONTROL4(PpapiHostMsg_FileChooser_Show,
1522 bool /* save_as */, 1528 bool /* save_as */,
1523 bool /* open_multiple */, 1529 bool /* open_multiple */,
1524 std::string /* suggested_file_name */, 1530 std::string /* suggested_file_name */,
1525 std::vector<std::string> /* accept_mime_types */) 1531 std::vector<std::string> /* accept_mime_types */)
1526 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_FileChooser_ShowReply, 1532 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_FileChooser_ShowReply,
1527 std::vector<ppapi::PPB_FileRef_CreateInfo> /* files */) 1533 std::vector<ppapi::PPB_FileRef_CreateInfo> /* files */)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698