Index: chrome/common/extensions/permissions/chrome_api_permissions.cc |
diff --git a/chrome/common/extensions/permissions/chrome_api_permissions.cc b/chrome/common/extensions/permissions/chrome_api_permissions.cc |
index 375fe7fa11a626d4cbabefab95183fac97550980..ef790797307a4355710a6c0056d37b52980ac1df 100644 |
--- a/chrome/common/extensions/permissions/chrome_api_permissions.cc |
+++ b/chrome/common/extensions/permissions/chrome_api_permissions.cc |
@@ -163,6 +163,10 @@ std::vector<APIPermissionInfo*> ChromeAPIPermissions::GetAllPermissions() |
APIPermissionInfo::kFlagCannotBeOptional }, |
// Register private permissions. |
+ { APIPermission::kScreenlockPrivate, "screenlockPrivate", |
+ APIPermissionInfo::kFlagCannotBeOptional, |
+ IDS_EXTENSION_PROMPT_WARNING_SCREENLOCK_PRIVATE, |
+ PermissionMessage::kScreenlockPrivate }, |
{ APIPermission::kActivityLogPrivate, "activityLogPrivate", |
APIPermissionInfo::kFlagCannotBeOptional, |
IDS_EXTENSION_PROMPT_WARNING_ACTIVITY_LOG_PRIVATE, |