summaryrefslogtreecommitdiffstats
path: root/extensions/common/permissions/media_galleries_permission.cc
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/common/permissions/media_galleries_permission.cc')
-rw-r--r--extensions/common/permissions/media_galleries_permission.cc4
1 files changed, 1 insertions, 3 deletions
diff --git a/extensions/common/permissions/media_galleries_permission.cc b/extensions/common/permissions/media_galleries_permission.cc
index 6a43268..4ac5ae6 100644
--- a/extensions/common/permissions/media_galleries_permission.cc
+++ b/extensions/common/permissions/media_galleries_permission.cc
@@ -96,7 +96,6 @@ void AddPermissionsToLists(
const char MediaGalleriesPermission::kAllAutoDetectedPermission[] =
"allAutoDetected";
-const char MediaGalleriesPermission::kScanPermission[] = "scan";
const char MediaGalleriesPermission::kReadPermission[] = "read";
const char MediaGalleriesPermission::kCopyToPermission[] = "copyTo";
const char MediaGalleriesPermission::kDeletePermission[] = "delete";
@@ -137,8 +136,7 @@ bool MediaGalleriesPermission::FromValue(
bool has_delete = false;
for (std::set<MediaGalleriesPermissionData>::const_iterator it =
data_set_.begin(); it != data_set_.end(); ++it) {
- if (it->permission() == kAllAutoDetectedPermission ||
- it->permission() == kScanPermission) {
+ if (it->permission() == kAllAutoDetectedPermission) {
continue;
}
if (it->permission() == kReadPermission) {