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

Unified Diff: Source/core/workers/WorkerGlobalScope.h

Issue 318393002: Initial implementation of ServiceWorkerGlobalScope.fetch() (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Add test for destroying the execution context while fetch is happening. Created 6 years, 6 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: Source/core/workers/WorkerGlobalScope.h
diff --git a/Source/core/workers/WorkerGlobalScope.h b/Source/core/workers/WorkerGlobalScope.h
index dc7a55deda0ad9c444d83d796fdb0b8584dea9b4..63f0d9c607d663204c13b8d68e86d4f24d36c7d1 100644
--- a/Source/core/workers/WorkerGlobalScope.h
+++ b/Source/core/workers/WorkerGlobalScope.h
@@ -129,6 +129,8 @@ namespace WebCore {
bool isClosing() { return m_closing; }
+ virtual void stopFetch() { }
+
bool idleNotification();
double timeOrigin() const { return m_timeOrigin; }

Powered by Google App Engine
This is Rietveld 408576698