| Index: chrome/common/extensions/permissions/api_permission.h
|
| diff --git a/chrome/common/extensions/permissions/api_permission.h b/chrome/common/extensions/permissions/api_permission.h
|
| index 07d0631159b3387a5017838aafa534681072c45a..77d6733f8f2c198f8e3b9cbd3666d99f79d9d7d8 100644
|
| --- a/chrome/common/extensions/permissions/api_permission.h
|
| +++ b/chrome/common/extensions/permissions/api_permission.h
|
| @@ -46,6 +46,7 @@ class APIPermission {
|
| kAudioCapture,
|
| kBackground,
|
| kBluetooth,
|
| + kBluetoothDevice,
|
| kBookmark,
|
| kBookmarkManagerPrivate,
|
| kBrowsingData,
|
| @@ -132,6 +133,17 @@ class APIPermission {
|
| return info_;
|
| }
|
|
|
| + // Returns a string representation of this permissions. The default string
|
| + // representation is the name of the permission.
|
| + virtual std::string ToString() const;
|
| +
|
| + // Returns true if this permission must be found in the manifest in order to
|
| + // be issued.
|
| + virtual bool ManifestEntryRequired() const;
|
| +
|
| + // Returns true if this permission cannot be found in the manifest.
|
| + virtual bool ManifestEntryForbidden() const;
|
| +
|
| // Returns true if this permission has any PermissionMessages.
|
| virtual bool HasMessages() const = 0;
|
|
|
|
|