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 a022b27139e0922a506130f59b92ab12f2bfe58d..1decadc1b252f85a1dbb23db84c151389129bacd 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, |
@@ -133,6 +134,13 @@ 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 cannot be found in the manifest. |
+ virtual bool ManifestEntryForbidden() const; |
+ |
// Returns true if this permission has any PermissionMessages. |
virtual bool HasMessages() const = 0; |