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

Unified Diff: ppapi/cpp/dev/websocket_dev.cc

Issue 9296001: WebSocket Pepper API: Remove binary type handling interfaces (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase 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
Index: ppapi/cpp/dev/websocket_dev.cc
diff --git a/ppapi/cpp/dev/websocket_dev.cc b/ppapi/cpp/dev/websocket_dev.cc
index 4cc7f8a9c8ca91dd10dd39128040d15d6f3de813..65578fdaecae65460db749b10f4da3d71157a232 100644
--- a/ppapi/cpp/dev/websocket_dev.cc
+++ b/ppapi/cpp/dev/websocket_dev.cc
@@ -145,17 +145,4 @@ Var WebSocket_Dev::GetURL() {
get_interface<PPB_WebSocket_Dev>()->GetURL(pp_resource()));
}
-bool WebSocket_Dev::SetBinaryType(PP_WebSocketBinaryType_Dev binary_type) {
- if (!has_interface<PPB_WebSocket_Dev>())
- return false;
- return PP_ToBool(get_interface<PPB_WebSocket_Dev>()->SetBinaryType(
- pp_resource(), binary_type));
-}
-
-PP_WebSocketBinaryType_Dev WebSocket_Dev::GetBinaryType() {
- if (!has_interface<PPB_WebSocket_Dev>())
- return PP_WEBSOCKETBINARYTYPE_INVALID;
- return get_interface<PPB_WebSocket_Dev>()->GetBinaryType(pp_resource());
-}
-
} // namespace pp
« no previous file with comments | « ppapi/cpp/dev/websocket_dev.h ('k') | ppapi/native_client/src/shared/ppapi_proxy/browser_ppb_websocket_rpc_server.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698