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

Unified Diff: third_party/WebKit/public/web/WebScriptController.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: 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/web/WebScriptController.h
diff --git a/third_party/WebKit/public/web/WebScriptController.h b/third_party/WebKit/public/web/WebScriptController.h
index 0f507544d612568a25b1864c3930355c5df6a2e7..3a6aac83ede4676d18ea50f9ed88b6019eba2125 100644
--- a/third_party/WebKit/public/web/WebScriptController.h
+++ b/third_party/WebKit/public/web/WebScriptController.h
@@ -45,6 +45,8 @@ public:
// v8 contexts initialized after this call. Takes ownership of the
// v8::Extension object passed.
BLINK_EXPORT static void registerExtension(v8::Extension*);
+ // Same as registerExtension, but applies to Service Worker scripts.
+ BLINK_EXPORT static void registerExtensionForServiceWorkerScript(v8::Extension*);
private:
WebScriptController();

Powered by Google App Engine
This is Rietveld 408576698