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

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 @tott Created 4 years, 7 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
« no previous file with comments | « content/child/blink_platform_impl.h ('k') | content/public/common/content_client.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/child/blink_platform_impl.cc
diff --git a/content/child/blink_platform_impl.cc b/content/child/blink_platform_impl.cc
index 4cbcaf9b2963b2b59a74aef71d83d62d766cb250..d9bc0322c46896686207e3456d291bc4acd19c40 100644
--- a/content/child/blink_platform_impl.cc
+++ b/content/child/blink_platform_impl.cc
@@ -855,6 +855,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_;
}
« no previous file with comments | « content/child/blink_platform_impl.h ('k') | content/public/common/content_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698