| 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 {
|
|
|