| Index: ppapi/cpp/dev/transport_dev.h
|
| diff --git a/ppapi/cpp/dev/transport_dev.h b/ppapi/cpp/dev/transport_dev.h
|
| index a03b232510441401458317b4b1f29a85a4475891..e2a8f918c12e9958eb2f82a4b460dd66f3355df5 100644
|
| --- a/ppapi/cpp/dev/transport_dev.h
|
| +++ b/ppapi/cpp/dev/transport_dev.h
|
| @@ -6,6 +6,7 @@
|
| #define PPAPI_CPP_DEV_TRANSPORT_DEV_H_
|
|
|
| #include "ppapi/c/dev/ppb_transport_dev.h"
|
| +#include "ppapi/cpp/completion_callback.h"
|
| #include "ppapi/cpp/resource.h"
|
|
|
| namespace pp {
|
| @@ -14,11 +15,19 @@ class Instance;
|
|
|
| class Transport_Dev : public Resource {
|
| public:
|
| - Transport_Dev() {}
|
| Transport_Dev(Instance* instance, const char* name, const char* proto);
|
| +
|
| + bool IsWritable();
|
| + int32_t Connect(const CompletionCallback& cc);
|
| + int32_t GetNextAddress(PP_Var* address, const CompletionCallback& cc);
|
| + int32_t ReceiveRemoteAddress(const PP_Var& address);
|
| + int32_t Recv(void* data, uint32_t len,
|
| + const CompletionCallback& cc);
|
| + int32_t Send(const void* data, uint32_t len,
|
| + const CompletionCallback& cb);
|
| + int32_t Close();
|
| };
|
|
|
| } // namespace pp
|
|
|
| #endif // PPAPI_CPP_DEV_TRANSPORT_DEV_H_
|
| -
|
|
|