| Index: webkit/plugins/ppapi/ppb_tcp_server_socket_private_impl.h
|
| diff --git a/webkit/plugins/ppapi/ppb_tcp_server_socket_private_impl.h b/webkit/plugins/ppapi/ppb_tcp_server_socket_private_impl.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..6533e618dd0fbd527f2b9ee38cb346d1fe3b42b0
|
| --- /dev/null
|
| +++ b/webkit/plugins/ppapi/ppb_tcp_server_socket_private_impl.h
|
| @@ -0,0 +1,41 @@
|
| +// Copyright (c) 2012 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#ifndef WEBKIT_PLUGINS_PPAPI_PPB_TCP_SERVER_SOCKET_PRIVATE_IMPL_H_
|
| +#define WEBKIT_PLUGINS_PPAPI_PPB_TCP_SERVER_SOCKET_PRIVATE_IMPL_H_
|
| +
|
| +#include "base/compiler_specific.h"
|
| +#include "ppapi/shared_impl/private/ppb_tcp_server_socket_shared.h"
|
| +
|
| +namespace webkit {
|
| +namespace ppapi {
|
| +
|
| +class PPB_TCPServerSocket_Private_Impl
|
| + : public ::ppapi::PPB_TCPServerSocket_Shared {
|
| + public:
|
| + static PP_Resource CreateResource(PP_Instance instance);
|
| +
|
| + virtual void OnAcceptCompleted(
|
| + bool succeeded,
|
| + uint32 tcp_socket_id,
|
| + const PP_NetAddress_Private& local_addr,
|
| + const PP_NetAddress_Private& remote_addr) OVERRIDE;
|
| +
|
| + virtual void SendListen(uint32_t temp_socket_id,
|
| + const PP_NetAddress_Private& addr,
|
| + int32_t backlog) OVERRIDE;
|
| + virtual void SendAccept() OVERRIDE;
|
| + virtual void SendStopListening() OVERRIDE;
|
| +
|
| + private:
|
| + PPB_TCPServerSocket_Private_Impl(PP_Instance instance);
|
| + virtual ~PPB_TCPServerSocket_Private_Impl();
|
| +
|
| + DISALLOW_COPY_AND_ASSIGN(PPB_TCPServerSocket_Private_Impl);
|
| +};
|
| +
|
| +} // namespace ppapi
|
| +} // namespace webkit
|
| +
|
| +#endif // WEBKIT_PLUGINS_PPAPI_PPB_TCP_SERVER_SOCKET_PRIVATE_IMPL_H_
|
|
|