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

Unified Diff: chrome/browser/push_messaging/push_messaging_constants.cc

Issue 1931843002: Ship Web Push subscription restrictions (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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: chrome/browser/push_messaging/push_messaging_constants.cc
diff --git a/chrome/browser/push_messaging/push_messaging_constants.cc b/chrome/browser/push_messaging/push_messaging_constants.cc
index 57e603dad32828a029db9ca8f36f3d42b3d31c1e..ec32bc126e07bfbe62b0eb3504c3b7e9f1b0c023 100644
--- a/chrome/browser/push_messaging/push_messaging_constants.cc
+++ b/chrome/browser/push_messaging/push_messaging_constants.cc
@@ -4,7 +4,11 @@
#include "chrome/browser/push_messaging/push_messaging_constants.h"
-const char kPushMessagingEndpoint[] = "https://android.googleapis.com/gcm/send";
+const char kPushMessagingGcmEndpoint[] =
+ "https://android.googleapis.com/gcm/send/";
+
+const char kPushMessagingPushProtocolEndpoint[] =
+ "https://fcm.googleapis.com/fcm/send/";
const char kPushMessagingForcedNotificationTag[] =
"user_visible_auto_notification";
« no previous file with comments | « chrome/browser/push_messaging/push_messaging_constants.h ('k') | chrome/browser/push_messaging/push_messaging_service_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698