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

Unified Diff: apps/shell/browser/shell_extensions_browser_client.cc

Issue 237793003: Use default CSP for resource loading in webview (instead of platform app's CSP) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add test Created 6 years, 8 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: apps/shell/browser/shell_extensions_browser_client.cc
diff --git a/apps/shell/browser/shell_extensions_browser_client.cc b/apps/shell/browser/shell_extensions_browser_client.cc
index 395bc184f67010c1504f5622848467b165376f1c..7dcf7417c868d954a2dd6d2581580c3805ffb638 100644
--- a/apps/shell/browser/shell_extensions_browser_client.cc
+++ b/apps/shell/browser/shell_extensions_browser_client.cc
@@ -150,6 +150,11 @@ bool ShellExtensionsBrowserClient::CanExtensionCrossIncognito(
return false;
}
+bool ShellExtensionsBrowserClient::IsWebViewRequest(
+ net::URLRequest* request) const {
+ return false;
+}
+
net::URLRequestJob*
ShellExtensionsBrowserClient::MaybeCreateResourceBundleRequestJob(
net::URLRequest* request,

Powered by Google App Engine
This is Rietveld 408576698