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

Unified Diff: ppapi/proxy/ppapi_messages.h

Issue 9455092: HostResolver is exposed to plugin. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Added shared declaration of GetPPB_HostResolver_Private_0_1_Thunk. Created 8 years, 10 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 side-by-side diff with in-line comments
Download patch
Index: ppapi/proxy/ppapi_messages.h
diff --git a/ppapi/proxy/ppapi_messages.h b/ppapi/proxy/ppapi_messages.h
index 023f11b9acb3524e9408ffb62040384f031d2a22..a9bdb8f51d23aecfac5588bd8e94c5e046d0743a 100644
--- a/ppapi/proxy/ppapi_messages.h
+++ b/ppapi/proxy/ppapi_messages.h
@@ -29,6 +29,7 @@
#include "ppapi/c/pp_rect.h"
#include "ppapi/c/pp_resource.h"
#include "ppapi/c/pp_size.h"
+#include "ppapi/c/private/ppb_host_resolver_private.h"
#include "ppapi/c/private/ppb_tcp_socket_private.h"
#include "ppapi/proxy/ppapi_param_traits.h"
#include "ppapi/proxy/ppapi_proxy_export.h"
@@ -39,6 +40,7 @@
#include "ppapi/shared_impl/ppb_input_event_shared.h"
#include "ppapi/shared_impl/ppb_url_request_info_shared.h"
#include "ppapi/shared_impl/ppb_view_shared.h"
+#include "ppapi/shared_impl/private/network_list.h"
#undef IPC_MESSAGE_EXPORT
#define IPC_MESSAGE_EXPORT PPAPI_PROXY_EXPORT
@@ -314,7 +316,7 @@ IPC_MESSAGE_ROUTED4(PpapiMsg_PPBTCPSocket_WriteACK,
bool /* succeeded */,
int32_t /* bytes_written */)
-// PPB_UDPSocket_Private
+// PPB_UDPSocket_Private.
IPC_MESSAGE_ROUTED4(PpapiMsg_PPBUDPSocket_BindACK,
uint32 /* plugin_dispatcher_id */,
uint32 /* socket_id */,
@@ -352,6 +354,12 @@ IPC_MESSAGE_ROUTED5(PpapiMsg_PPBTCPServerSocket_AcceptACK,
PP_NetAddress_Private /* local_addr */,
PP_NetAddress_Private /* remote_addr */)
+// PPB_HostResolver_Private.
+IPC_MESSAGE_ROUTED3(PpapiMsg_PPBHostResolver_ResolveACK,
+ uint32 /* host_resolver_id */,
yzshen1 2012/02/28 08:29:00 You probably need to add plugin_dispatcher_id as w
ygorshenin1 2012/02/28 12:09:47 Yes, but I think it's better to do this in CL for
+ bool /* succeeded */,
+ ppapi::NetworkList /* network_list */)
+
// PPB_Graphics2D.
IPC_MESSAGE_ROUTED2(PpapiMsg_PPBGraphics2D_FlushACK,
ppapi::HostResource /* graphics_2d */,
@@ -883,6 +891,14 @@ IPC_MESSAGE_CONTROL1(PpapiHostMsg_PPBTCPServerSocket_Accept,
IPC_MESSAGE_CONTROL1(PpapiHostMsg_PPBTCPServerSocket_Destroy,
uint32 /* real_socket_id */)
+// PPB_HostResolver_Private.
+IPC_MESSAGE_CONTROL5(PpapiHostMsg_PPBHostResolver_Resolve,
+ int32 /* routing_id */,
+ uint32 /* host_resolver_id */,
+ std::string /* host */,
+ uint16_t /* port */,
+ PP_HostResolver_Private_Hint /* hint */)
+
// PPB_Font.
IPC_SYNC_MESSAGE_CONTROL0_1(PpapiHostMsg_PPBFont_GetFontFamilies,
std::string /* result */)

Powered by Google App Engine
This is Rietveld 408576698