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

Unified Diff: ppapi/cpp/websocket.h

Issue 9381010: Convert resources to take an instance key instead of an Instance*. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: USELESS PATCH TITLE Created 8 years, 10 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
« no previous file with comments | « ppapi/cpp/var.h ('k') | ppapi/cpp/websocket.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/cpp/websocket.h
diff --git a/ppapi/cpp/websocket.h b/ppapi/cpp/websocket.h
index 61e61df0b66f6c1a7255bcfb223090dc315fbeb7..dce233077b43a1a579ff6a95e40a9ae4f683d47b 100644
--- a/ppapi/cpp/websocket.h
+++ b/ppapi/cpp/websocket.h
@@ -14,14 +14,17 @@
namespace pp {
class CompletionCallback;
-class Instance;
+class InstanceHandle;
class Var;
/// The <code>WebSocket</code> class
class WebSocket : public Resource {
public:
/// Constructs a WebSocket object.
- WebSocket(Instance* instance);
+ ///
+ /// @param[in] instance The instance with which this resource will be
+ /// associated.
+ explicit WebSocket(const InstanceHandle& instance);
/// Destructs a WebSocket object.
virtual ~WebSocket();
« no previous file with comments | « ppapi/cpp/var.h ('k') | ppapi/cpp/websocket.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698