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

Unified Diff: ppapi/shared_impl/ppapi_permissions.h

Issue 112343005: Pepper: Finish support for dev channel APIs. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixes for dmichael Created 7 years 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/proxy/ppapi_messages.h ('k') | ppapi/thunk/interfaces_ppb_public_dev_channel.h » ('j') | 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 fb82cfcd268b1ee79865f89cc16445308fcce059..3002df63d11ba3924c740b062a27ef0f42570b9e 100644
--- a/ppapi/shared_impl/ppapi_permissions.h
+++ b/ppapi/shared_impl/ppapi_permissions.h
@@ -14,7 +14,8 @@ enum Permission {
// Placeholder/uninitialized permission.
PERMISSION_NONE = 0,
- // Allows access to dev interfaces.
+ // Allows access to dev interfaces. These are experimental interfaces not
+ // tied to any particular release channel.
PERMISSION_DEV = 1 << 0,
// Allows access to Browser-internal interfaces.
@@ -30,6 +31,11 @@ enum Permission {
// Flash-related interfaces.
PERMISSION_FLASH = 1 << 4,
+ // "Dev channel" interfaces. This is different than PERMISSION_DEV above;
+ // these interfaces may only be used on Dev or Canary channel releases of
+ // Chrome.
+ PERMISSION_DEV_CHANNEL = 1 << 5,
+
// NOTE: If you add stuff be sure to update PERMISSION_ALL_BITS.
// Meta permission for initializing plugins registered on the command line
@@ -38,7 +44,8 @@ enum Permission {
PERMISSION_PRIVATE |
PERMISSION_BYPASS_USER_GESTURE |
PERMISSION_TESTING |
- PERMISSION_FLASH
+ PERMISSION_FLASH |
+ PERMISSION_DEV_CHANNEL
};
class PPAPI_SHARED_EXPORT PpapiPermissions {
« no previous file with comments | « ppapi/proxy/ppapi_messages.h ('k') | ppapi/thunk/interfaces_ppb_public_dev_channel.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698