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

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

Issue 8688002: PPB_TCPSocket_Private/PPB_UDPSocket_Private are exposed to Browser (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Deleted NaCl tests. Created 9 years 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
OLDNEW
(Empty)
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef WEBKIT_PLUGINS_PPAPI_PPB_UDP_SOCKET_PRIVATE_IMPL_H_
6 #define WEBKIT_PLUGINS_PPAPI_PPB_UDP_SOCKET_PRIVATE_IMPL_H_
7
8 #include "ppapi/shared_impl/udp_socket_impl.h"
9
10 namespace webkit {
11 namespace ppapi {
12
13 class PPB_UDPSocket_Private_Impl : public ::ppapi::UDPSocketImpl {
14 public:
15 static PP_Resource CreateResource(PP_Instance instance);
16
17 virtual void SendBind(const PP_NetAddress_Private& addr);
18 virtual void SendRecvFrom(int32_t num_bytes);
19 virtual void SendSendTo(const std::string& buffer,
20 const PP_NetAddress_Private& addr);
21 virtual void SendClose();
22 virtual void PostAbort(PP_CompletionCallback callback);
23
24 private:
25 PPB_UDPSocket_Private_Impl(PP_Instance instance, uint32 socket_id);
26 virtual ~PPB_UDPSocket_Private_Impl();
yzshen1 2011/11/28 20:59:16 Why it needs to be private?
ygorshenin 2011/11/29 18:30:09 There are no possibility to create instance of thi
27
28 DISALLOW_COPY_AND_ASSIGN(PPB_UDPSocket_Private_Impl);
29 };
30
31 } // namespace ppapi
32 } // namespace webkit
33
34 #endif // WEBKIT_PLUGINS_PPAPI_PPB_UDP_SOCKET_PRIVATE_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698