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

Unified Diff: ppapi/cpp/private/tcp_socket_private.h

Issue 9568007: Added CPP wrapper for PPB_TCPServerSocket_Private. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Restored IsAvailable method, fixed TCPSocketPrivate constructor. Created 8 years, 9 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 side-by-side diff with in-line comments
Download patch
Index: ppapi/cpp/private/tcp_socket_private.h
diff --git a/ppapi/cpp/private/tcp_socket_private.h b/ppapi/cpp/private/tcp_socket_private.h
index 415a1eded4ba4faea940480e89d57b8bce9250de..b82941a59bb868fb2d1e6007e242ac0e38eec9cb 100644
--- a/ppapi/cpp/private/tcp_socket_private.h
+++ b/ppapi/cpp/private/tcp_socket_private.h
@@ -7,6 +7,7 @@
#include "ppapi/c/pp_stdint.h"
#include "ppapi/c/private/ppb_tcp_socket_private.h"
+#include "ppapi/cpp/pass_ref.h"
#include "ppapi/cpp/resource.h"
namespace pp {
@@ -18,6 +19,8 @@ class TCPSocketPrivate : public Resource {
public:
explicit TCPSocketPrivate(const InstanceHandle& instance);
+ explicit TCPSocketPrivate(PassRef, PP_Resource resource);
yzshen1 2012/03/07 17:27:05 explicit is not necessary.
ygorshenin1 2012/03/11 09:39:33 Done.
+
// Returns true if the required interface is available.
static bool IsAvailable();

Powered by Google App Engine
This is Rietveld 408576698