Commit 17662e40 authored by Ben Wells's avatar Ben Wells Committed by Commit Bot

Update comment for packaged apps file system access permissions.

The comment was incorrect.

Bug: None
Change-Id: Ifbacb882482dd834198046293b798da27b7b4964
Reviewed-on: https://chromium-review.googlesource.com/1055247
Commit-Queue: Ben Wells <benwells@chromium.org>
Reviewed-by: default avatarDevlin <rdevlin.cronin@chromium.org>
Cr-Commit-Position: refs/heads/master@{#558193}
parent aaa4d5aa
......@@ -494,11 +494,11 @@ ChromePermissionMessageRule::GetAllRules() {
{APIPermission::kMediaGalleriesAllGalleriesRead},
{}},
// The permission string for "fileSystem" is only shown when
// "write" or "directory" is present. Read-only access is only
// granted after the user has been shown a file or directory
// chooser dialog and selected a file or directory. Selecting
// the file or directory is considered consent to read it.
// File system permissions. We only have permission strings for directory
// access, and show a different message for read-only directory access
// versus writable directory access. We don't warn for write-only access,
// since the user must select the file and the chooser is considered
// sufficient warning.
{IDS_EXTENSION_PROMPT_WARNING_FILE_SYSTEM_WRITE_DIRECTORY,
{APIPermission::kFileSystemWrite, APIPermission::kFileSystemDirectory},
{}},
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment