Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(265)

Unified Diff: chrome/browser/nacl_host/nacl_file_host.cc

Issue 16625012: Remove ExtensionURLInfo, make security decisions in render process (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: address feedback Created 7 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/nacl_host/nacl_file_host.cc
diff --git a/chrome/browser/nacl_host/nacl_file_host.cc b/chrome/browser/nacl_host/nacl_file_host.cc
index 18efee97054956c3a874c81551a62a3f7ec1d6c0..b24ca232a62dcf746e9b06c342400edaa2c706f9 100644
--- a/chrome/browser/nacl_host/nacl_file_host.cc
+++ b/chrome/browser/nacl_host/nacl_file_host.cc
@@ -209,8 +209,7 @@ bool GetExtensionFilePath(
base::FilePath* file_path) {
// Check that the URL is recognized by the extension system.
const extensions::Extension* extension =
- extension_info_map->extensions().GetExtensionOrAppByURL(
- ExtensionURLInfo(file_url));
+ extension_info_map->extensions().GetExtensionOrAppByURL(file_url);
if (!extension)
return false;
« no previous file with comments | « chrome/browser/media/media_stream_capture_indicator.cc ('k') | chrome/browser/nacl_host/nacl_host_message_filter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698