Index: extensions/common/features/simple_feature.cc |
diff --git a/extensions/common/features/simple_feature.cc b/extensions/common/features/simple_feature.cc |
index bdf8fae78879a75cc0d3ed04dcd602a0dea15858..0f22068fc0984c315e5c265cb0cb0daf35cbb5b9 100644 |
--- a/extensions/common/features/simple_feature.cc |
+++ b/extensions/common/features/simple_feature.cc |
@@ -331,13 +331,6 @@ Feature::Availability SimpleFeature::IsAvailableToManifest( |
if (IsIdInBlacklist(extension_id)) |
return CreateAvailability(FOUND_IN_BLACKLIST, type); |
- // TODO(benwells): don't grant all component extensions. |
- // See http://crbug.com/370375 for more details. |
- // Component extensions can access any feature. |
- // NOTE: Deliberately does not match EXTERNAL_COMPONENT. |
- if (component_extensions_auto_granted_ && location == Manifest::COMPONENT) |
- return CreateAvailability(IS_AVAILABLE, type); |
- |
if (!whitelist_.empty()) { |
if (!IsIdInWhitelist(extension_id)) { |
// TODO(aa): This is gross. There should be a better way to test the |