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

Unified Diff: ppapi/cpp/private/udp_socket_private.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/private/tcp_socket_private.cc ('k') | ppapi/cpp/private/udp_socket_private.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/cpp/private/udp_socket_private.h
diff --git a/ppapi/cpp/private/udp_socket_private.h b/ppapi/cpp/private/udp_socket_private.h
index abe434b61631286dda43eca49ba5ec73b402363a..e80091ceea53c068a5a8fd00e43d2a5930c98ddb 100644
--- a/ppapi/cpp/private/udp_socket_private.h
+++ b/ppapi/cpp/private/udp_socket_private.h
@@ -12,11 +12,11 @@
namespace pp {
class CompletionCallback;
-class Instance;
+class InstanceHandle;
class UDPSocketPrivate : public Resource {
public:
- explicit UDPSocketPrivate(Instance* instance);
+ explicit UDPSocketPrivate(const InstanceHandle& instance);
int32_t Bind(const PP_NetAddress_Private* addr,
const CompletionCallback& callback);
« no previous file with comments | « ppapi/cpp/private/tcp_socket_private.cc ('k') | ppapi/cpp/private/udp_socket_private.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698