Chromium Code Reviews| Index: public/platform/WebPushClient.h |
| diff --git a/public/platform/WebPushClient.h b/public/platform/WebPushClient.h |
| index f728bd7dc512637147d48f2a21b8206e92113f2e..97431c89aba730833c85c59df246523c34ff08ed 100644 |
| --- a/public/platform/WebPushClient.h |
| +++ b/public/platform/WebPushClient.h |
| @@ -11,9 +11,10 @@ |
| namespace blink { |
| class WebServiceWorkerRegistration; |
| -struct WebPushRegistration; |
| +struct WebPushSubscription; |
| -typedef WebCallbacks<WebPushRegistration, WebPushError> WebPushRegistrationCallbacks; |
| +using WebPushSubscriptionCallbacks = WebCallbacks<WebPushSubscription, WebPushError>; |
|
Peter Beverloo
2015/01/09 16:33:09
+FIXME
Michael van Ouwerkerk
2015/01/09 17:11:39
Done.
|
| +using WebPushRegistrationCallbacks = WebPushSubscriptionCallbacks; |
| class WebPushClient { |
| public: |
| @@ -21,7 +22,7 @@ public: |
| // Ownership of the WebServiceWorkerRegistration is not transferred. |
| // Ownership of the callbacks is transferred to the client. |
| - virtual void registerPushMessaging(WebServiceWorkerRegistration*, WebPushRegistrationCallbacks*) { } |
| + virtual void registerPushMessaging(WebServiceWorkerRegistration*, WebPushRegistrationCallbacks*) { BLINK_ASSERT_NOT_REACHED(); } |
| }; |
| } // namespace blink |