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

Side by Side Diff: ppapi/native_client/src/shared/ppapi_proxy/plugin_ppb_websocket.h

Issue 9192009: WebSocket Pepper API: make the API out of dev (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: for land 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
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 NATIVE_CLIENT_SRC_SHARED_PPAPI_PROXY_PLUGIN_WEBSOCKET_H_ 5 #ifndef NATIVE_CLIENT_SRC_SHARED_PPAPI_PROXY_PLUGIN_WEBSOCKET_H_
6 #define NATIVE_CLIENT_SRC_SHARED_PPAPI_PROXY_PLUGIN_WEBSOCKET_H_ 6 #define NATIVE_CLIENT_SRC_SHARED_PPAPI_PROXY_PLUGIN_WEBSOCKET_H_
7 7
8 #include "native_client/src/include/nacl_macros.h" 8 #include "native_client/src/include/nacl_macros.h"
9 #include "ppapi/c/dev/ppb_websocket_dev.h" 9 #include "ppapi/c/ppb_websocket.h"
10 10
11 namespace ppapi_proxy { 11 namespace ppapi_proxy {
12 12
13 // Implements the untrusted side of the PPB_WebSocket interface. 13 // Implements the untrusted side of the PPB_WebSocket interface.
14 class PluginWebSocket { 14 class PluginWebSocket {
15 public: 15 public:
16 static const PPB_WebSocket_Dev* GetInterface(); 16 static const PPB_WebSocket* GetInterface();
17 17
18 private: 18 private:
19 NACL_DISALLOW_COPY_AND_ASSIGN(PluginWebSocket); 19 NACL_DISALLOW_COPY_AND_ASSIGN(PluginWebSocket);
20 }; 20 };
21 21
22 } // namespace ppapi_proxy 22 } // namespace ppapi_proxy
23 23
24 #endif // NATIVE_CLIENT_SRC_SHARED_PPAPI_PROXY_PLUGIN_WEBSOCKET_H_ 24 #endif // NATIVE_CLIENT_SRC_SHARED_PPAPI_PROXY_PLUGIN_WEBSOCKET_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698