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

Unified Diff: extensions/browser/extension_web_contents_observer.cc

Issue 2574763003: Remove chrome-extension-resource:// scheme (Closed)
Patch Set: Remove BUILD reference to resources/extension outdir. Created 4 years 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
« no previous file with comments | « extensions/BUILD.gn ('k') | extensions/common/constants.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/browser/extension_web_contents_observer.cc
diff --git a/extensions/browser/extension_web_contents_observer.cc b/extensions/browser/extension_web_contents_observer.cc
index 687fa00731800cd84ebd281f33cc68c6f71f1a10..42823d1749d98e04fb227bf4c63529ac8179f92f 100644
--- a/extensions/browser/extension_web_contents_observer.cc
+++ b/extensions/browser/extension_web_contents_observer.cc
@@ -70,8 +70,6 @@ void ExtensionWebContentsObserver::InitializeRenderFrame(
content::ChildProcessSecurityPolicy::GetInstance();
int process_id = render_frame_host->GetProcess()->GetID();
security_policy->GrantScheme(process_id, extensions::kExtensionScheme);
- security_policy->GrantScheme(process_id,
- extensions::kExtensionResourceScheme);
// Notify the render frame of the view type.
render_frame_host->Send(new ExtensionMsg_NotifyRenderViewType(
« no previous file with comments | « extensions/BUILD.gn ('k') | extensions/common/constants.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698