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

Unified Diff: ppapi/shared_impl/ppapi_permissions.h

Issue 10917160: Add some logging to debug PPAPI permissions. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 3 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 | « content/renderer/pepper/content_renderer_pepper_host_factory.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/shared_impl/ppapi_permissions.h
diff --git a/ppapi/shared_impl/ppapi_permissions.h b/ppapi/shared_impl/ppapi_permissions.h
index 8456fb7c19a0cfe8b2c09306d9c92c4f1e6aed0c..d9d2cd83a014b2888373e64cbc031840c92a4a23 100644
--- a/ppapi/shared_impl/ppapi_permissions.h
+++ b/ppapi/shared_impl/ppapi_permissions.h
@@ -40,6 +40,10 @@ class PPAPI_SHARED_EXPORT PpapiPermissions {
bool HasPermission(Permission perm) const;
+ // TODO(brettw) bug 147507: Remove this when we fix the permissions bug
+ // (this was added for logging).
+ uint32 GetBits() const { return permissions_; }
+
private:
uint32 permissions_;
« no previous file with comments | « content/renderer/pepper/content_renderer_pepper_host_factory.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698