Index: public/platform/WebServiceWorkerProvider.h |
diff --git a/public/platform/WebServiceWorkerProvider.h b/public/platform/WebServiceWorkerProvider.h |
index ca60a58314672b1972dd2b33fd46b46b5b74118d..1ba98964006fed35552dc0ee23318ab80154742d 100644 |
--- a/public/platform/WebServiceWorkerProvider.h |
+++ b/public/platform/WebServiceWorkerProvider.h |
@@ -54,14 +54,15 @@ public: |
// The WebServiceWorkerRegistration and WebServiceWorkerError ownership are |
// passed to the WebServiceWorkerRegistrationCallbacks implementation. |
typedef WebCallbacks<WebServiceWorkerRegistration, WebServiceWorkerError> WebServiceWorkerRegistrationCallbacks; |
- typedef WebCallbacks<bool, WebServiceWorkerError> WebServiceWorkerUnregistrationCallbacks; |
typedef WebCallbacks<WebServiceWorkerRegistration, WebServiceWorkerError> WebServiceWorkerGetRegistrationCallbacks; |
typedef WebCallbacks<WebVector<WebServiceWorkerRegistration*>, WebServiceWorkerError> WebServiceWorkerGetRegistrationsCallbacks; |
typedef WebCallbacks<WebServiceWorkerRegistration, void> WebServiceWorkerGetRegistrationForReadyCallbacks; |
virtual void registerServiceWorker(const WebURL& pattern, const WebURL& scriptUrl, WebServiceWorkerRegistrationCallbacks*) { } |
- // Unregisters the ServiceWorker for a given scope. |
+ // TODO(nhiroki): Remove after http://crbug.com/500404 is fixed. |
+#define CRBUG_500404 |
+ typedef WebCallbacks<bool, WebServiceWorkerError> WebServiceWorkerUnregistrationCallbacks; |
virtual void unregisterServiceWorker(const WebURL& pattern, WebServiceWorkerUnregistrationCallbacks*) { } |
virtual void getRegistration(const WebURL& documentURL, WebServiceWorkerGetRegistrationCallbacks*) { } |