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

Unified Diff: Source/modules/serviceworkers/ServiceWorkerGlobalScope.h

Issue 180843003: Start to implement FetchEvent for ServiceWorker (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 10 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/modules/serviceworkers/ServiceWorkerGlobalScope.h
diff --git a/Source/modules/serviceworkers/ServiceWorkerGlobalScope.h b/Source/modules/serviceworkers/ServiceWorkerGlobalScope.h
index 23f52707ade2a2ab6ce28bcce97b0c9dcd051dcb..e043b881988a9bf7da60b18dacad0782d2ce3866 100644
--- a/Source/modules/serviceworkers/ServiceWorkerGlobalScope.h
+++ b/Source/modules/serviceworkers/ServiceWorkerGlobalScope.h
@@ -57,6 +57,9 @@ public:
private:
ServiceWorkerGlobalScope(const KURL&, const String& userAgent, ServiceWorkerThread*, double timeOrigin, PassOwnPtr<WorkerClients>);
};
-}
+
+DEFINE_TYPE_CASTS(ServiceWorkerGlobalScope, WorkerGlobalScope, context, context->isServiceWorkerGlobalScope(), context.isServiceWorkerGlobalScope());
+
+} // namespace WebCore
#endif // ServiceWorkerGlobalScope_h

Powered by Google App Engine
This is Rietveld 408576698