Index: public/platform/WebPushClient.h |
diff --git a/public/platform/WebPushClient.h b/public/platform/WebPushClient.h |
index 3804bd2deff91e690484a0e0375de9ac15cb15dd..7904b9337bbb5b2a8a805a51ed231a3af3d60b3b 100644 |
--- a/public/platform/WebPushClient.h |
+++ b/public/platform/WebPushClient.h |
@@ -7,10 +7,10 @@ |
#include "public/platform/WebCallbacks.h" |
#include "public/platform/WebPushError.h" |
-#include "public/platform/WebString.h" |
namespace blink { |
+class WebPushPermissionCallback; |
class WebServiceWorkerProvider; |
struct WebPushRegistration; |
@@ -23,6 +23,10 @@ public: |
// Ownership of the WebPushRegistrationCallbacks is transferred to the |
// client. Ownership of the WebServiceWorkerProvider is not transferred. |
virtual void registerPushMessaging(const WebString& senderId, WebPushRegistrationCallbacks*, WebServiceWorkerProvider*) { } |
+ |
+ // Ownership of the WebPushPermissionCallback is transferred to the |
+ // client. Ownership of the WebServiceWorkerProvider is not transferred. |
+ virtual void getPermissionStatus(WebPushPermissionCallback*, WebServiceWorkerProvider*) { } |
}; |
} // namespace blink |