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

Unified Diff: third_party/WebKit/public/platform/Platform.h

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: third_party/WebKit/public/platform/Platform.h
diff --git a/third_party/WebKit/public/platform/Platform.h b/third_party/WebKit/public/platform/Platform.h
index c7a244b6d8c49c5092b4e12956fe58912cc74be4..5dabcc0b903e339e745ab81c7a24c14da9df4230 100644
--- a/third_party/WebKit/public/platform/Platform.h
+++ b/third_party/WebKit/public/platform/Platform.h
@@ -528,6 +528,7 @@ public:
virtual void didStartWorkerThread() { }
virtual void willStopWorkerThread() { }
+ virtual bool allowScriptExtensionForServiceWorker(const WebURL& scriptUrl) { return false; }
// WebCrypto ----------------------------------------------------------

Powered by Google App Engine
This is Rietveld 408576698