summaryrefslogtreecommitdiffstats
path: root/chrome/common/extensions/permissions/api_permission.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/common/extensions/permissions/api_permission.cc')
-rw-r--r--chrome/common/extensions/permissions/api_permission.cc5
1 files changed, 4 insertions, 1 deletions
diff --git a/chrome/common/extensions/permissions/api_permission.cc b/chrome/common/extensions/permissions/api_permission.cc
index a102a4c..753b356 100644
--- a/chrome/common/extensions/permissions/api_permission.cc
+++ b/chrome/common/extensions/permissions/api_permission.cc
@@ -86,7 +86,6 @@ void APIPermission::RegisterAllPermissions(
{ kContextMenus, "contextMenus" },
{ kCookie, "cookies" },
{ kFileBrowserHandler, "fileBrowserHandler", kFlagCannotBeOptional },
- { kFileSystem, "fileSystem" },
{ kHistory, "history", kFlagNone,
IDS_EXTENSION_PROMPT_WARNING_BROWSING_HISTORY,
PermissionMessage::kBrowsingHistory },
@@ -162,6 +161,10 @@ void APIPermission::RegisterAllPermissions(
{ kVideoCapture, "videoCapture", kFlagNone,
IDS_EXTENSION_PROMPT_WARNING_VIDEO_CAPTURE,
PermissionMessage::kVideoCapture },
+ { kFileSystem, "fileSystem" },
+ { kFileSystemWrite, "fileSystemWrite", kFlagNone,
+ IDS_EXTENSION_PROMPT_WARNING_FILE_SYSTEM_WRITE,
+ PermissionMessage::kFileSystemWrite },
};
for (size_t i = 0; i < ARRAYSIZE_UNSAFE(PermissionsToRegister); ++i) {