diff options
Diffstat (limited to 'chrome/browser/extensions/component_loader.cc')
-rw-r--r-- | chrome/browser/extensions/component_loader.cc | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/chrome/browser/extensions/component_loader.cc b/chrome/browser/extensions/component_loader.cc index 9a02b63..595b001 100644 --- a/chrome/browser/extensions/component_loader.cc +++ b/chrome/browser/extensions/component_loader.cc @@ -145,11 +145,10 @@ void ComponentLoader::Reload(const std::string& extension_id) { } const Extension* ComponentLoader::Load(const ComponentExtensionInfo& info) { - int flags = Extension::REQUIRE_KEY; // TODO(abarth): We should REQUIRE_MODERN_MANIFEST_VERSION once we've updated // our component extensions to the new manifest version. - if (Extension::ShouldDoStrictErrorChecking(Extension::COMPONENT)) - flags |= Extension::STRICT_ERROR_CHECKS; + int flags = Extension::REQUIRE_KEY; + std::string error; // Get the absolute path to the extension. |