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

Unified Diff: public/platform/WebServiceWorkerRegistration.h

Issue 473743002: ServiceWorker: register() should return the existing registration object if available (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: fix Created 6 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: public/platform/WebServiceWorkerRegistration.h
diff --git a/public/platform/WebServiceWorkerRegistration.h b/public/platform/WebServiceWorkerRegistration.h
index 915da831e503ba58ca49f70bc20312c971b1e429..bda4492953257b5b12efc14dc458f94b896fb8bd 100644
--- a/public/platform/WebServiceWorkerRegistration.h
+++ b/public/platform/WebServiceWorkerRegistration.h
@@ -16,6 +16,8 @@ public:
virtual ~WebServiceWorkerRegistration() { }
virtual void setProxy(WebServiceWorkerRegistrationProxy*) { }
+ virtual WebServiceWorkerRegistrationProxy* proxy() { return 0; }
+
virtual WebURL scope() const { return WebURL(); }
};

Powered by Google App Engine
This is Rietveld 408576698