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

Unified Diff: ppapi/shared_impl/var.h

Issue 23346009: [PPAPI] Added a new Var subclass, ResourceVar. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Added constructor that takes IPC::Message. Created 7 years, 4 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/shared_impl/var.h
diff --git a/ppapi/shared_impl/var.h b/ppapi/shared_impl/var.h
index bded4656f7ed78f5370faeec815d5908c241e4e4..d656019c74e12a44803f7033d33219106f4b6fdd 100644
--- a/ppapi/shared_impl/var.h
+++ b/ppapi/shared_impl/var.h
@@ -22,6 +22,7 @@ class ArrayVar;
class DictionaryVar;
class NPObjectVar;
class ProxyObjectVar;
+class ResourceVar;
class StringVar;
class VarTracker;
@@ -41,6 +42,7 @@ class PPAPI_SHARED_EXPORT Var : public base::RefCounted<Var> {
virtual ProxyObjectVar* AsProxyObjectVar();
virtual ArrayVar* AsArrayVar();
virtual DictionaryVar* AsDictionaryVar();
+ virtual ResourceVar* AsResourceVar();
// Creates a PP_Var corresponding to this object. The return value will have
// one reference addrefed on behalf of the caller.

Powered by Google App Engine
This is Rietveld 408576698