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

Side by Side Diff: ppapi/thunk/ppb_websocket_api.h

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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « ppapi/thunk/interfaces_ppb_public_dev.h ('k') | ppapi/thunk/ppb_websocket_thunk.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef PPAPI_THUNK_WEBSOCKET_API_H_ 5 #ifndef PPAPI_THUNK_WEBSOCKET_API_H_
6 #define PPAPI_THUNK_WEBSOCKET_API_H_ 6 #define PPAPI_THUNK_WEBSOCKET_API_H_
7 7
8 #include "ppapi/c/pp_completion_callback.h" 8 #include "ppapi/c/pp_completion_callback.h"
9 #include "ppapi/c/dev/ppb_websocket_dev.h" 9 #include "ppapi/c/dev/ppb_websocket_dev.h"
10 10
(...skipping 15 matching lines...) Expand all
26 PP_CompletionCallback callback) = 0; 26 PP_CompletionCallback callback) = 0;
27 virtual int32_t SendMessage(PP_Var message) = 0; 27 virtual int32_t SendMessage(PP_Var message) = 0;
28 virtual uint64_t GetBufferedAmount() = 0; 28 virtual uint64_t GetBufferedAmount() = 0;
29 virtual uint16_t GetCloseCode() = 0; 29 virtual uint16_t GetCloseCode() = 0;
30 virtual PP_Var GetCloseReason() = 0; 30 virtual PP_Var GetCloseReason() = 0;
31 virtual PP_Bool GetCloseWasClean() = 0; 31 virtual PP_Bool GetCloseWasClean() = 0;
32 virtual PP_Var GetExtensions() = 0; 32 virtual PP_Var GetExtensions() = 0;
33 virtual PP_Var GetProtocol() = 0; 33 virtual PP_Var GetProtocol() = 0;
34 virtual PP_WebSocketReadyState_Dev GetReadyState() = 0; 34 virtual PP_WebSocketReadyState_Dev GetReadyState() = 0;
35 virtual PP_Var GetURL() = 0; 35 virtual PP_Var GetURL() = 0;
36 virtual PP_Bool SetBinaryType(PP_WebSocketBinaryType_Dev) = 0;
37 virtual PP_WebSocketBinaryType_Dev GetBinaryType() = 0;
38 }; 36 };
39 37
40 } // namespace thunk 38 } // namespace thunk
41 } // namespace ppapi 39 } // namespace ppapi
42 40
43 #endif // PPAPI_THUNK_WEBSOCKET_API_H_ 41 #endif // PPAPI_THUNK_WEBSOCKET_API_H_
OLDNEW
« no previous file with comments | « ppapi/thunk/interfaces_ppb_public_dev.h ('k') | ppapi/thunk/ppb_websocket_thunk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698