Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(848)

Unified Diff: content/browser/push_messaging_message_filter.h

Issue 661463002: Implement PushManager#hasPermission (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/browser/DEPS ('k') | content/browser/push_messaging_message_filter.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/push_messaging_message_filter.h
diff --git a/content/browser/push_messaging_message_filter.h b/content/browser/push_messaging_message_filter.h
index cab1b5ce82ffdcf60df458f8672c87e72b82f697..015c8b6d67da19a8a684dcd7f99f96a385bbe50b 100644
--- a/content/browser/push_messaging_message_filter.h
+++ b/content/browser/push_messaging_message_filter.h
@@ -13,6 +13,8 @@
#include "content/public/common/push_messaging_status.h"
#include "url/gurl.h"
+class GURL;
+
namespace content {
class PushMessagingService;
@@ -36,6 +38,10 @@ class PushMessagingMessageFilter : public BrowserMessageFilter {
bool user_gesture,
int service_worker_provider_id);
+ void OnPermissionStatusRequest(int render_frame_id,
+ int service_worker_provider_id,
+ int permission_callback_id);
+
void DoRegister(int render_frame_id,
int callbacks_id,
const std::string& sender_id,
@@ -43,6 +49,9 @@ class PushMessagingMessageFilter : public BrowserMessageFilter {
const GURL& origin,
int64 service_worker_registration_id);
+ void DoPermissionStatusRequest(const GURL& requesting_origin,
+ int render_frame_id,
+ int callback_id);
void DidRegister(int render_frame_id,
int callbacks_id,
const GURL& push_endpoint,
« no previous file with comments | « content/browser/DEPS ('k') | content/browser/push_messaging_message_filter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698