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

Unified Diff: webkit/plugins/ppapi/plugin_module.cc

Issue 9455092: HostResolver is exposed to plugin. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: CreateNetworkListFromAddrInfo marked as shared. 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: webkit/plugins/ppapi/plugin_module.cc
diff --git a/webkit/plugins/ppapi/plugin_module.cc b/webkit/plugins/ppapi/plugin_module.cc
index 746e515d3746afd9d9dd34fe2ddfaed9ac1573bf..904c331b4d2567c441c348b10c1d7a0b5e12fa93 100644
--- a/webkit/plugins/ppapi/plugin_module.cc
+++ b/webkit/plugins/ppapi/plugin_module.cc
@@ -74,6 +74,7 @@
#include "ppapi/c/private/ppb_flash_message_loop.h"
#include "ppapi/c/private/ppb_flash_tcp_socket.h"
#include "ppapi/c/private/ppb_gpu_blacklist_private.h"
+#include "ppapi/c/private/ppb_host_resolver_private.h"
#include "ppapi/c/private/ppb_instance_private.h"
#include "ppapi/c/private/ppb_pdf.h"
#include "ppapi/c/private/ppb_proxy_private.h"
@@ -337,6 +338,8 @@ const void* GetInterface(const char* name) {
return PPB_GpuBlacklist_Private_Impl::GetInterface();
if (strcmp(name, PPB_GRAPHICS_3D_TRUSTED_INTERFACE_1_0) == 0)
return ::ppapi::thunk::GetPPB_Graphics3DTrusted_1_0_Thunk();
+ if (strcmp(name, PPB_HOSTRESOLVER_PRIVATE_INTERFACE_0_1) == 0)
brettw 2012/02/28 17:02:50 Instead of hardcoding this, you should add a mappi
ygorshenin1 2012/02/29 14:02:37 Done.
+ return ::ppapi::thunk::GetPPB_HostResolver_Private_0_1_Thunk();
if (strcmp(name, PPB_IMAGEDATA_TRUSTED_INTERFACE_0_4) == 0)
return ::ppapi::thunk::GetPPB_ImageDataTrusted_0_4_Thunk();
if (strcmp(name, PPB_INPUT_EVENT_INTERFACE_1_0) == 0)

Powered by Google App Engine
This is Rietveld 408576698