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

Unified Diff: third_party/WebKit/public/web/WebSharedWorkerClient.h

Issue 2816403002: test all
Patch Set: fix sharedworker Created 3 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/WebSharedWorkerClient.h
diff --git a/third_party/WebKit/public/web/WebSharedWorkerClient.h b/third_party/WebKit/public/web/WebSharedWorkerClient.h
index 46f8cf1d1aa872e73235f5f04264b46c42685a57..9ad1315dd1b8ffc60f3b7b2425ce1d505493f93b 100644
--- a/third_party/WebKit/public/web/WebSharedWorkerClient.h
+++ b/third_party/WebKit/public/web/WebSharedWorkerClient.h
@@ -43,6 +43,7 @@ class WebSecurityOrigin;
class WebServiceWorkerNetworkProvider;
class WebString;
class WebWorkerContentSettingsClientProxy;
+class WebWorkerFetchContext;
// Provides an interface back to the in-page script object for a worker.
// All functions are expected to be called back on the thread that created
@@ -93,6 +94,11 @@ class WebSharedWorkerClient {
CreateDevToolsMessageLoop() {
return nullptr;
}
+
+ // Returns a new WebWorkerFetchContext for the shared worker.
+ // Ownership of the returned object is transferred to the caller. This is used
+ // only when off-main-thread-fetch is enabled.
+ virtual WebWorkerFetchContext* CreateWorkerFetchContext() { return 0; }
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698