Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1774)

Unified Diff: chrome/common/extensions/permissions/chrome_api_permissions.cc

Issue 1128203005: Add the IDL and stub implementation for the chrome.passwordsPrivate API. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase/lint. Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 a55aadb6b0aa14aa5a1462ddb12df8a6f6f2d177..2fbacddca86e5b7bd781dad431852d16c6c1f988 100644
--- a/chrome/common/extensions/permissions/chrome_api_permissions.cc
+++ b/chrome/common/extensions/permissions/chrome_api_permissions.cc
@@ -357,6 +357,11 @@ std::vector<APIPermissionInfo*> ChromeAPIPermissions::GetAllPermissions()
{APIPermission::kWebstoreWidgetPrivate,
"webstoreWidgetPrivate",
APIPermissionInfo::kFlagCannotBeOptional},
+ {APIPermission::kPasswordsPrivate,
+ "passwordsPrivate",
+ APIPermissionInfo::kFlagCannotBeOptional,
+ IDS_EXTENSION_PROMPT_WARNING_PASSWORDS_PRIVATE,
+ PermissionMessage::kPasswordsPrivate},
// Full url access permissions.
{APIPermission::kDebugger,
« no previous file with comments | « chrome/common/extensions/api/schemas.gypi ('k') | chrome/common/extensions/permissions/chrome_permission_message_rules.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698