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

Unified Diff: public/platform/WebServiceWorker.h

Issue 306133002: WebServiceWorkerProxy instances can be unwrapped to ServiceWorkers. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Crib from WebNode: make m_private protected to avoid unused field warnings. Created 6 years, 7 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
« no previous file with comments | « Source/platform/exported/WebServiceWorkerProxy.cpp ('k') | public/platform/WebServiceWorkerProxy.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: public/platform/WebServiceWorker.h
diff --git a/public/platform/WebServiceWorker.h b/public/platform/WebServiceWorker.h
index 447f120015b4a55e0717f0c06a4d34b75cadb99d..52ad440463796cc4c865bee1001d530c5a31e237 100644
--- a/public/platform/WebServiceWorker.h
+++ b/public/platform/WebServiceWorker.h
@@ -52,6 +52,7 @@ public:
// ownership to the callee, and the proxy's lifetime is same as that of
// WebServiceWorker.
virtual void setProxy(WebServiceWorkerProxy*) { }
+ virtual WebServiceWorkerProxy* proxy() { return 0; }
// Called by this worker's ServiceWorkerProxy when it has become ready or
// not ready for state change notifications.
« no previous file with comments | « Source/platform/exported/WebServiceWorkerProxy.cpp ('k') | public/platform/WebServiceWorkerProxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698