| Index: public/platform/WebPushClient.h
|
| diff --git a/public/platform/WebPushClient.h b/public/platform/WebPushClient.h
|
| index 71be9dc8b59f66d4d8c177534219e048355c5cd5..853655dc22bb0987c4eaf319533630c89201295d 100644
|
| --- a/public/platform/WebPushClient.h
|
| +++ b/public/platform/WebPushClient.h
|
| @@ -15,7 +15,9 @@ class WebServiceWorkerProvider;
|
| struct WebPushRegistration;
|
|
|
| typedef WebCallbacks<WebPushRegistration, WebPushError> WebPushRegistrationCallbacks;
|
| +// FIXME: Delete WebPushPermissionCallback once the embedder stops depending on it.
|
| typedef WebCallbacks<WebPushPermissionStatus, void> WebPushPermissionCallback;
|
| +typedef WebCallbacks<WebPushPermissionStatus, void> WebPushPermissionStatusCallback;
|
|
|
| class WebPushClient {
|
| public:
|
| @@ -25,9 +27,9 @@ public:
|
| // client. Ownership of the WebServiceWorkerProvider is not transferred.
|
| virtual void registerPushMessaging(WebPushRegistrationCallbacks*, WebServiceWorkerProvider*) { }
|
|
|
| - // Ownership of the WebPushPermissionCallback is transferred to the
|
| + // Ownership of the WebPushPermissionStatusCallback is transferred to the
|
| // client. Ownership of the WebServiceWorkerProvider is not transferred.
|
| - virtual void getPermissionStatus(WebPushPermissionCallback*, WebServiceWorkerProvider*) { }
|
| + virtual void getPermissionStatus(WebPushPermissionStatusCallback*, WebServiceWorkerProvider*) { }
|
| };
|
|
|
| } // namespace blink
|
|
|