Index: public/platform/WebServiceWorkerRegistration.h |
diff --git a/public/platform/WebServiceWorkerRegistration.h b/public/platform/WebServiceWorkerRegistration.h |
index 2cf1a27311ae3dacfc2f4dd2710c6e1b89b5bdb6..c21feeeaae5b3d39fbec1f33d14a4cb5e8732684 100644 |
--- a/public/platform/WebServiceWorkerRegistration.h |
+++ b/public/platform/WebServiceWorkerRegistration.h |
@@ -5,23 +5,28 @@ |
#ifndef WebServiceWorkerRegistration_h |
#define WebServiceWorkerRegistration_h |
+#include "public/platform/WebCallbacks.h" |
#include "public/platform/WebURL.h" |
namespace blink { |
class WebServiceWorkerProvider; |
class WebServiceWorkerRegistrationProxy; |
+struct WebServiceWorkerError; |
class WebServiceWorkerRegistration { |
public: |
virtual ~WebServiceWorkerRegistration() { } |
+ using WebServiceWorkerUnregistrationCallbacks = WebCallbacks<bool, WebServiceWorkerError>; |
+ |
virtual void setProxy(WebServiceWorkerRegistrationProxy*) { } |
virtual WebServiceWorkerRegistrationProxy* proxy() { return nullptr; } |
virtual void proxyStopped() { } |
virtual WebURL scope() const { return WebURL(); } |
virtual void update(WebServiceWorkerProvider*) { } |
+ virtual void unregister(WebServiceWorkerProvider*, WebServiceWorkerUnregistrationCallbacks*) { } |
}; |
} // namespace blink |