summaryrefslogtreecommitdiffstats
path: root/extensions/browser/info_map.cc
diff options
context:
space:
mode:
authorelijahtaylor <elijahtaylor@chromium.org>2014-10-08 21:51:41 -0700
committerCommit bot <commit-bot@chromium.org>2014-10-09 04:52:03 +0000
commitfb585bffff6976d3daa1a4608918f0bf01b318af (patch)
treea14b187e6194f3e4c2529d228ca21d92fb25d3f5 /extensions/browser/info_map.cc
parentfad66c3012d0c95b447f5bc46da7602f57188dfe (diff)
downloadchromium_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.cc4
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 {