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

Unified Diff: content/child/blink_platform_impl.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/child/blink_platform_impl.cc
diff --git a/content/child/blink_platform_impl.cc b/content/child/blink_platform_impl.cc
index fc4bb874db241eb9c0e89e03a068aeab7c134a4c..26c7a1db6e527e0b9ca3367126544da563311715 100644
--- a/content/child/blink_platform_impl.cc
+++ b/content/child/blink_platform_impl.cc
@@ -858,6 +858,11 @@ void BlinkPlatformImpl::willStopWorkerThread() {
WorkerThreadRegistry::Instance()->WillStopCurrentWorkerThread();
}
+bool BlinkPlatformImpl::allowScriptExtensionForServiceWorker(
+ const blink::WebURL& scriptUrl) {
+ return GetContentClient()->AllowScriptExtensionForServiceWorker(scriptUrl);
+}
+
blink::WebCrypto* BlinkPlatformImpl::crypto() {
return &web_crypto_;
}

Powered by Google App Engine
This is Rietveld 408576698