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

Unified Diff: ppapi/cpp/dev/transport_dev.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/dev/text_input_dev.cc ('k') | ppapi/cpp/dev/transport_dev.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/cpp/dev/transport_dev.h
diff --git a/ppapi/cpp/dev/transport_dev.h b/ppapi/cpp/dev/transport_dev.h
index cf0721e0eb3cc5cf06273d7e65660e2c579e77ac..8545583681e2708b7eb0afa1ac6002e26d16a689 100644
--- a/ppapi/cpp/dev/transport_dev.h
+++ b/ppapi/cpp/dev/transport_dev.h
@@ -11,12 +11,14 @@
namespace pp {
-class Instance;
+class InstanceHandle;
class Var;
class Transport_Dev : public Resource {
public:
- Transport_Dev(Instance* instance, const char* name, PP_TransportType type);
+ Transport_Dev(const InstanceHandle& instance,
+ const char* name,
+ PP_TransportType type);
bool IsWritable();
int32_t SetProperty(PP_TransportProperty property, const Var& value);
« no previous file with comments | « ppapi/cpp/dev/text_input_dev.cc ('k') | ppapi/cpp/dev/transport_dev.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698