Index: public/platform/WebPushProvider.h |
diff --git a/public/platform/WebPushProvider.h b/public/platform/WebPushProvider.h |
index af5d353ca5dd451d46d832c0eb8b02074d23df42..5136b72cc666789ef94208b58629c8aab7084e24 100644 |
--- a/public/platform/WebPushProvider.h |
+++ b/public/platform/WebPushProvider.h |
@@ -13,11 +13,13 @@ namespace blink { |
class WebServiceWorkerRegistration; |
struct WebPushError; |
-struct WebPushRegistration; |
+struct WebPushSubscription; |
-typedef WebCallbacks<WebPushRegistration, WebPushError> WebPushRegistrationCallbacks; |
-typedef WebCallbacks<WebPushPermissionStatus, void> WebPushPermissionStatusCallbacks; |
-typedef WebCallbacks<bool, WebPushError> WebPushUnregisterCallbacks; |
+using WebPushSubscriptionCallbacks = WebCallbacks<WebPushSubscription, WebPushError>; |
Peter Beverloo
2015/01/09 16:33:09
+FIXMEs
Michael van Ouwerkerk
2015/01/09 17:11:39
Done.
|
+using WebPushRegistrationCallbacks = WebPushSubscriptionCallbacks; |
+using WebPushPermissionStatusCallbacks = WebCallbacks<WebPushPermissionStatus, void>; |
+using WebPushUnsubscribeCallbacks = WebCallbacks<bool, WebPushError>; |
+using WebPushUnregisterCallbacks = WebPushUnsubscribeCallbacks; |
class WebPushProvider { |
public: |