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

Side by Side Diff: webkit/plugins/ppapi/ppb_tcp_socket_private_impl.h

Issue 17314012: Move PPB_TCPSocket out of dev. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 6 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 WEBKIT_PLUGINS_PPAPI_PPB_TCP_SOCKET_PRIVATE_IMPL_H_ 5 #ifndef WEBKIT_PLUGINS_PPAPI_PPB_TCP_SOCKET_PRIVATE_IMPL_H_
6 #define WEBKIT_PLUGINS_PPAPI_PPB_TCP_SOCKET_PRIVATE_IMPL_H_ 6 #define WEBKIT_PLUGINS_PPAPI_PPB_TCP_SOCKET_PRIVATE_IMPL_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
(...skipping 17 matching lines...) Expand all
28 virtual void SendConnectWithNetAddress( 28 virtual void SendConnectWithNetAddress(
29 const PP_NetAddress_Private& addr) OVERRIDE; 29 const PP_NetAddress_Private& addr) OVERRIDE;
30 virtual void SendSSLHandshake( 30 virtual void SendSSLHandshake(
31 const std::string& server_name, 31 const std::string& server_name,
32 uint16_t server_port, 32 uint16_t server_port,
33 const std::vector<std::vector<char> >& trusted_certs, 33 const std::vector<std::vector<char> >& trusted_certs,
34 const std::vector<std::vector<char> >& untrusted_certs) OVERRIDE; 34 const std::vector<std::vector<char> >& untrusted_certs) OVERRIDE;
35 virtual void SendRead(int32_t bytes_to_read) OVERRIDE; 35 virtual void SendRead(int32_t bytes_to_read) OVERRIDE;
36 virtual void SendWrite(const std::string& buffer) OVERRIDE; 36 virtual void SendWrite(const std::string& buffer) OVERRIDE;
37 virtual void SendDisconnect() OVERRIDE; 37 virtual void SendDisconnect() OVERRIDE;
38 virtual void SendSetOption(PP_TCPSocket_Option_Dev name, 38 virtual void SendSetOption(PP_TCPSocket_Option name,
39 const ::ppapi::SocketOptionData& value) OVERRIDE; 39 const ::ppapi::SocketOptionData& value) OVERRIDE;
40 40
41 private: 41 private:
42 PPB_TCPSocket_Private_Impl(PP_Instance instance, uint32 socket_id); 42 PPB_TCPSocket_Private_Impl(PP_Instance instance, uint32 socket_id);
43 virtual ~PPB_TCPSocket_Private_Impl(); 43 virtual ~PPB_TCPSocket_Private_Impl();
44 44
45 static PluginDelegate* GetPluginDelegate(PP_Instance instance); 45 static PluginDelegate* GetPluginDelegate(PP_Instance instance);
46 46
47 DISALLOW_COPY_AND_ASSIGN(PPB_TCPSocket_Private_Impl); 47 DISALLOW_COPY_AND_ASSIGN(PPB_TCPSocket_Private_Impl);
48 }; 48 };
49 49
50 } // namespace ppapi 50 } // namespace ppapi
51 } // namespace webkit 51 } // namespace webkit
52 52
53 #endif // WEBKIT_PLUGINS_PPAPI_PPB_TCP_SOCKET_PRIVATE_IMPL_H_ 53 #endif // WEBKIT_PLUGINS_PPAPI_PPB_TCP_SOCKET_PRIVATE_IMPL_H_
OLDNEW
« no previous file with comments | « webkit/plugins/ppapi/plugin_module.cc ('k') | webkit/plugins/ppapi/ppb_tcp_socket_private_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698