Index: chrome/browser/services/gcm/push_messaging_service_impl.h |
diff --git a/chrome/browser/services/gcm/push_messaging_service_impl.h b/chrome/browser/services/gcm/push_messaging_service_impl.h |
index b38f3779115e1ce5b168a807e6aa9984d4dee33e..6b5d1d31f4fcd89b1cac523dc2bab4f4587dd817 100644 |
--- a/chrome/browser/services/gcm/push_messaging_service_impl.h |
+++ b/chrome/browser/services/gcm/push_messaging_service_impl.h |
@@ -11,6 +11,7 @@ |
#include "components/gcm_driver/gcm_client.h" |
#include "content/public/browser/push_messaging_service.h" |
#include "content/public/common/push_messaging_status.h" |
+#include "third_party/WebKit/public/platform/WebPushPermissionStatus.h" |
class Profile; |
@@ -57,6 +58,9 @@ class PushMessagingServiceImpl : public content::PushMessagingService, |
int render_frame_id, |
bool user_gesture, |
const content::PushMessagingService::RegisterCallback& callback) override; |
+ blink::WebPushPermissionStatus GetPermissionStatus( |
+ const GURL& requesting_origin, int renderer_id, |
+ int render_frame_id) override; |
private: |
void DeliverMessageCallback(const PushMessagingApplicationId& application_id, |