| Index: public/platform/modules/background_sync/WebSyncProvider.h
|
| diff --git a/public/platform/modules/background_sync/WebSyncProvider.h b/public/platform/modules/background_sync/WebSyncProvider.h
|
| index cb337a18b57f73680de012fefbe3aaf9af8b34be..7c590cb67af14a0f1f4eba5d901719ea244e403c 100644
|
| --- a/public/platform/modules/background_sync/WebSyncProvider.h
|
| +++ b/public/platform/modules/background_sync/WebSyncProvider.h
|
| @@ -48,25 +48,9 @@ public:
|
| virtual void getPermissionStatus(blink::WebSyncRegistration::Periodicity, WebServiceWorkerRegistration*, WebSyncGetPermissionStatusCallbacks*) = 0;
|
|
|
| // Takes ownership of the WebSyncNotifyWhenDoneCallbacks.
|
| - virtual void notifyWhenDone(int64_t syncId, WebSyncNotifyWhenDoneCallbacks* callbacks)
|
| - {
|
| - // TODO(jkarlin): After landing both legs of the notifyWhenDone CLs, make this a pure virtual function.
|
| - callbacks->onError(WebSyncError(WebSyncError::ErrorTypeAbort, "Function not implemented."));
|
| - delete callbacks;
|
| - }
|
| + virtual void notifyWhenDone(int64_t syncId, WebSyncNotifyWhenDoneCallbacks*) = 0;
|
|
|
| - // Takes ownership of the WebServiceWorkerRegistration.
|
| - virtual void trackRegistration(WebSyncRegistration* registration)
|
| - {
|
| - // TODO(jkarlin): After landing both legs of the releaseRegistration CLs, make this a pure virtual function.
|
| - return;
|
| - }
|
| -
|
| - virtual void releaseRegistration(int64_t syncId)
|
| - {
|
| - // TODO(jkarlin): After landing both legs of the releaseRegistration CLs, make this a pure virtual function.
|
| - return;
|
| - }
|
| + virtual void releaseRegistration(int64_t syncId) = 0;
|
| };
|
|
|
| } // namespace blink
|
|
|