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

Unified Diff: chrome/common/extensions/extension_permission_set.cc

Issue 9617010: Move chrome.downloads out of experimental to dev (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: merge Created 8 years, 6 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
« no previous file with comments | « chrome/common/extensions/extension_permission_set.h ('k') | chrome/common/extensions_api_resources.grd » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/extensions/extension_permission_set.cc
diff --git a/chrome/common/extensions/extension_permission_set.cc b/chrome/common/extensions/extension_permission_set.cc
index 1380f9ee8b3a8eec912aa42d1c252d4ec9b7c687..dfc26c8ca923d432020939bbc40ad5954821f7e8 100644
--- a/chrome/common/extensions/extension_permission_set.cc
+++ b/chrome/common/extensions/extension_permission_set.cc
@@ -192,6 +192,9 @@ void ExtensionAPIPermission::RegisterAllPermissions(
{ kClipboardWrite, "clipboardWrite" },
{ kDeclarative, "declarative" },
{ kDeclarativeWebRequest, "declarativeWebRequest" },
+ { kDownloads, "downloads", kFlagNone,
+ IDS_EXTENSION_PROMPT_WARNING_DOWNLOADS,
+ ExtensionPermissionMessage::kDownloads },
{ kExperimental, "experimental", kFlagCannotBeOptional },
{ kGeolocation, "geolocation", kFlagCannotBeOptional,
IDS_EXTENSION_PROMPT_WARNING_GEOLOCATION,
« no previous file with comments | « chrome/common/extensions/extension_permission_set.h ('k') | chrome/common/extensions_api_resources.grd » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698