Chromium Code Reviews| Index: public/platform/WebPushClient.h |
| diff --git a/public/platform/WebPushClient.h b/public/platform/WebPushClient.h |
| index 3804bd2deff91e690484a0e0375de9ac15cb15dd..c107834e831ccc544af9e89a033d6a21e3e2d85e 100644 |
| --- a/public/platform/WebPushClient.h |
| +++ b/public/platform/WebPushClient.h |
| @@ -7,7 +7,7 @@ |
| #include "public/platform/WebCallbacks.h" |
| #include "public/platform/WebPushError.h" |
| -#include "public/platform/WebString.h" |
| +#include "public/platform/WebPushPermissionCallback.h" |
|
Peter Beverloo
2014/10/20 12:23:49
You should forward declare this instead.
Miguel Garcia
2014/10/22 12:58:44
Done.
|
| namespace blink { |
| @@ -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 permissionStatus(WebPushPermissionCallback*, WebServiceWorkerProvider*) { } |
| }; |
| } // namespace blink |