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

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

Issue 8571002: WebSocket Pepper API: in process API base implementation (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: test name was wrong Created 9 years, 1 month 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/resource_creation_impl.cc
diff --git a/webkit/plugins/ppapi/resource_creation_impl.cc b/webkit/plugins/ppapi/resource_creation_impl.cc
index 2a7984535aa6eaa22ca7b184511136d11476ca95..992d6e854c11f71a17636ba6cdaaa2d3e3273ab0 100644
--- a/webkit/plugins/ppapi/resource_creation_impl.cc
+++ b/webkit/plugins/ppapi/resource_creation_impl.cc
@@ -33,6 +33,7 @@
#include "webkit/plugins/ppapi/ppb_video_capture_impl.h"
#include "webkit/plugins/ppapi/ppb_video_decoder_impl.h"
#include "webkit/plugins/ppapi/ppb_video_layer_impl.h"
+#include "webkit/plugins/ppapi/ppb_websocket_impl.h"
using ppapi::InputEventData;
using ppapi::InputEventImpl;
@@ -307,6 +308,10 @@ PP_Resource ResourceCreationImpl::CreateVideoLayer(PP_Instance instance,
return PPB_VideoLayer_Impl::Create(instance, mode);
}
+PP_Resource ResourceCreationImpl::CreateWebSocket(PP_Instance instance) {
+ return PPB_WebSocket_Impl::Create(instance);
+}
+
PP_Resource ResourceCreationImpl::CreateWheelInputEvent(
PP_Instance instance,
PP_TimeTicks time_stamp,
« ppapi/tests/test_websocket.cc ('K') | « webkit/plugins/ppapi/resource_creation_impl.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698