summaryrefslogtreecommitdiffstats
path: root/chrome/common/extensions/permissions/chrome_permission_message_rules.cc
diff options
context:
space:
mode:
authororenb <orenb@chromium.org>2015-06-01 13:40:16 -0700
committerCommit bot <commit-bot@chromium.org>2015-06-01 20:40:51 +0000
commit5fbbf2ae2eba1359ae4f0d1b0737197468b27385 (patch)
treee95923bdcb1d7807b3dd357881e906e6992b7390 /chrome/common/extensions/permissions/chrome_permission_message_rules.cc
parent2e171cf4d960a6c723a529b2a4cbceb075bcd306 (diff)
downloadchromium_src-5fbbf2ae2eba1359ae4f0d1b0737197468b27385.zip
chromium_src-5fbbf2ae2eba1359ae4f0d1b0737197468b27385.tar.gz
chromium_src-5fbbf2ae2eba1359ae4f0d1b0737197468b27385.tar.bz2
Add IDL and stub implementation for chrome.usersPrivate API.
Proposal is here: https://docs.google.com/document/d/1ucnVkZSkOyY0R7kyryyLlvNq7rkN8EyAtvE6WsCxcFY/edit#heading=h.w8inspeo32bj BUG=491369 Review URL: https://codereview.chromium.org/1143303004 Cr-Commit-Position: refs/heads/master@{#332261}
Diffstat (limited to 'chrome/common/extensions/permissions/chrome_permission_message_rules.cc')
-rw-r--r--chrome/common/extensions/permissions/chrome_permission_message_rules.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/chrome/common/extensions/permissions/chrome_permission_message_rules.cc b/chrome/common/extensions/permissions/chrome_permission_message_rules.cc
index 1ae7995..6b22aad 100644
--- a/chrome/common/extensions/permissions/chrome_permission_message_rules.cc
+++ b/chrome/common/extensions/permissions/chrome_permission_message_rules.cc
@@ -507,6 +507,9 @@ ChromePermissionMessageRule::GetAllRules() {
{IDS_EXTENSION_PROMPT_WARNING_PASSWORDS_PRIVATE,
{APIPermission::kPasswordsPrivate},
{}},
+ {IDS_EXTENSION_PROMPT_WARNING_USERS_PRIVATE,
+ {APIPermission::kUsersPrivate},
+ {}},
// Platform-app permission messages.