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

Unified Diff: content/public/common/content_client.cc

Issue 1880933002: Begin to enable extension APIs in Extension Service Worker. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: sync Created 4 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: content/public/common/content_client.cc
diff --git a/content/public/common/content_client.cc b/content/public/common/content_client.cc
index 43463d548094f54c7e5cf389576ae9143e901a70..1291437caafffbbf81a60a8cc74f1b562c5871a9 100644
--- a/content/public/common/content_client.cc
+++ b/content/public/common/content_client.cc
@@ -123,6 +123,11 @@ base::StringPiece ContentClient::GetOriginTrialPublicKey() {
return base::StringPiece();
}
+bool ContentClient::AllowScriptExtensionForServiceWorker(
+ const GURL& script_url) {
+ return false;
+}
+
#if defined(OS_ANDROID)
bool ContentClient::UsingSynchronousCompositing() {
return false;

Powered by Google App Engine
This is Rietveld 408576698