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

Unified Diff: content/browser/push_messaging/push_messaging_message_filter.cc

Issue 930083002: Unregister with push service and SW database when permission is lost. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 5 years, 10 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
Index: content/browser/push_messaging/push_messaging_message_filter.cc
diff --git a/content/browser/push_messaging/push_messaging_message_filter.cc b/content/browser/push_messaging/push_messaging_message_filter.cc
index 8e151d73c6caf543bb8d33f888366eb34bbfa47f..5024d8ce33cd97c6151434280d68acc6c4fadd65 100644
--- a/content/browser/push_messaging/push_messaging_message_filter.cc
+++ b/content/browser/push_messaging/push_messaging_message_filter.cc
@@ -22,6 +22,9 @@
#include "third_party/WebKit/public/platform/modules/push_messaging/WebPushPermissionStatus.h"
namespace content {
+
+const char kPushRegistrationIdServiceWorkerKey[] = "push_registration_id";
+
namespace {
void RecordRegistrationStatus(PushRegistrationStatus status) {
@@ -32,8 +35,6 @@ void RecordRegistrationStatus(PushRegistrationStatus status) {
PUSH_REGISTRATION_STATUS_LAST + 1);
}
-const char kPushRegistrationIdServiceWorkerKey[] =
- "push_registration_id";
const char kSenderIdServiceWorkerKey[] =
"push_sender_id";
« no previous file with comments | « content/browser/push_messaging/push_messaging_message_filter.h ('k') | content/public/browser/push_messaging_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698