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

Unified Diff: ppapi/cpp/resource.h

Issue 52233002: [PPAPI] Added VarResource_Dev class. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 7 years, 2 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/resource.h
diff --git a/ppapi/cpp/resource.h b/ppapi/cpp/resource.h
index 8f5a92d2e1214815bd1762800fe39ae1b396739d..2911f8cd8b23d0071f7cb8a0e51a1048a836105b 100644
--- a/ppapi/cpp/resource.h
+++ b/ppapi/cpp/resource.h
@@ -14,6 +14,8 @@
/// with the module.
namespace pp {
+class VarResource_Dev;
+
/// A reference counted module resource.
class Resource {
public:
@@ -82,6 +84,8 @@ class Resource {
void PassRefFromConstructor(PP_Resource resource);
private:
+ friend class VarResource_Dev;
+
PP_Resource pp_resource_;
};

Powered by Google App Engine
This is Rietveld 408576698