diff options
author | elijahtaylor <elijahtaylor@chromium.org> | 2014-10-08 21:51:41 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2014-10-09 04:52:03 +0000 |
commit | fb585bffff6976d3daa1a4608918f0bf01b318af (patch) | |
tree | a14b187e6194f3e4c2529d228ca21d92fb25d3f5 /extensions/browser/info_map.cc | |
parent | fad66c3012d0c95b447f5bc46da7602f57188dfe (diff) | |
download | chromium_src-fb585bffff6976d3daa1a4608918f0bf01b318af.zip chromium_src-fb585bffff6976d3daa1a4608918f0bf01b318af.tar.gz chromium_src-fb585bffff6976d3daa1a4608918f0bf01b318af.tar.bz2 |
Remove "resources" subkey and functionality for Shared Modules
BUG=419936
Review URL: https://codereview.chromium.org/625713002
Cr-Commit-Position: refs/heads/master@{#298790}
Diffstat (limited to 'extensions/browser/info_map.cc')
-rw-r--r-- | extensions/browser/info_map.cc | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/extensions/browser/info_map.cc b/extensions/browser/info_map.cc index 101f35b..23587d5 100644 --- a/extensions/browser/info_map.cc +++ b/extensions/browser/info_map.cc @@ -204,10 +204,8 @@ bool InfoMap::MapUrlToLocalFilePath(const GURL& file_url, if (!new_extension) return false; - if (!SharedModuleInfo::ImportsExtensionById(extension, new_extension_id) || - !SharedModuleInfo::IsExportAllowed(new_extension, new_relative_path)) { + if (!SharedModuleInfo::ImportsExtensionById(extension, new_extension_id)) return false; - } resource = new_extension->GetResource(new_relative_path); } else { |