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 5d74a7313654bfb75488bd35f6a667f318174b33..c76548a0b1acf1337a61321db3f2a99d2724a0a8 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,10 @@ 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; |
void SetProfileForTesting(Profile* profile); |