summaryrefslogtreecommitdiffstats
path: root/chrome/common/extensions/permissions/chrome_api_permissions.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/common/extensions/permissions/chrome_api_permissions.cc')
-rw-r--r--chrome/common/extensions/permissions/chrome_api_permissions.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/chrome/common/extensions/permissions/chrome_api_permissions.cc b/chrome/common/extensions/permissions/chrome_api_permissions.cc
index 28790c2..1950a9946 100644
--- a/chrome/common/extensions/permissions/chrome_api_permissions.cc
+++ b/chrome/common/extensions/permissions/chrome_api_permissions.cc
@@ -64,6 +64,10 @@ std::vector<APIPermissionInfo*> ChromeAPIPermissions::GetAllPermissions()
PermissionMessage::kDownloadsOpen },
{ APIPermission::kDownloadsShelf, "downloads.shelf" },
{ APIPermission::kIdentity, "identity" },
+ { APIPermission::kIdentityEmail, "identity.email",
+ APIPermissionInfo::kFlagNone,
+ IDS_EXTENSION_PROMPT_WARNING_IDENTITY_EMAIL,
+ PermissionMessage::kIdentityEmail },
{ APIPermission::kExperimental, "experimental",
APIPermissionInfo::kFlagCannotBeOptional },
// NOTE(kalman): this is provided by a manifest property but needs to