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

Unified Diff: third_party/WebKit/public/web/modules/serviceworker/WebIsolatedWorker.h

Issue 2118243002: [proof-of-concept] SW thread independent of the main thread Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 4 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/modules/serviceworker/WebIsolatedWorker.h
diff --git a/third_party/WebKit/public/web/modules/serviceworker/WebIsolatedWorker.h b/third_party/WebKit/public/web/modules/serviceworker/WebIsolatedWorker.h
new file mode 100644
index 0000000000000000000000000000000000000000..26d72d7fdc81c66a3339b7abd5d960fa442b9cdc
--- /dev/null
+++ b/third_party/WebKit/public/web/modules/serviceworker/WebIsolatedWorker.h
@@ -0,0 +1,22 @@
+
+#ifndef WebIsolatedWorker_h
+#define WebIsolatedWorker_h
+
+#include "public/platform/WebCommon.h"
+#include "public/platform/WebURL.h"
+
+namespace blink {
+class WebIsolatedWorkerContextClient;
+
+class WebIsolatedWorker {
+public:
+ BLINK_EXPORT static WebIsolatedWorker* create(
+ WebIsolatedWorkerContextClient*);
+
+ virtual ~WebIsolatedWorker() {}
+ virtual void startWorker(int64_t versionID, WebURL scopeURL, WebURL scriptURL) {}
+};
+
+} // namespace blink
+
+#endif // WebIsolatedWorker_h

Powered by Google App Engine
This is Rietveld 408576698