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

Unified Diff: webkit/plugins/ppapi/ppb_websocket_impl.h

Issue 8989046: WebSocket Pepper API: add interfaces to handle binaryType attribute (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix reviewed points Created 8 years, 11 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
« no previous file with comments | « ppapi/thunk/ppb_websocket_thunk.cc ('k') | webkit/plugins/ppapi/ppb_websocket_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/plugins/ppapi/ppb_websocket_impl.h
diff --git a/webkit/plugins/ppapi/ppb_websocket_impl.h b/webkit/plugins/ppapi/ppb_websocket_impl.h
index 16544f17a208c4625f9b7bd8a20781143732934c..3177c7b000d641444f998259e740a3447675cd9c 100644
--- a/webkit/plugins/ppapi/ppb_websocket_impl.h
+++ b/webkit/plugins/ppapi/ppb_websocket_impl.h
@@ -57,6 +57,9 @@ class PPB_WebSocket_Impl : public ::ppapi::Resource,
virtual PP_Var GetProtocol() OVERRIDE;
virtual PP_WebSocketReadyState_Dev GetReadyState() OVERRIDE;
virtual PP_Var GetURL() OVERRIDE;
+ virtual PP_Bool SetBinaryType(
+ PP_WebSocketBinaryType_Dev binary_type) OVERRIDE;
+ virtual PP_WebSocketBinaryType_Dev GetBinaryType() OVERRIDE;
// WebSocketClient implementation.
virtual void didConnect();
@@ -74,6 +77,7 @@ class PPB_WebSocket_Impl : public ::ppapi::Resource,
scoped_ptr<WebKit::WebSocket> websocket_;
PP_WebSocketReadyState_Dev state_;
+ PP_WebSocketBinaryType_Dev binary_type_;
bool error_was_received_;
scoped_refptr< ::ppapi::TrackedCallback> connect_callback_;
« no previous file with comments | « ppapi/thunk/ppb_websocket_thunk.cc ('k') | webkit/plugins/ppapi/ppb_websocket_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698