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

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

Issue 1876473002: Add a feature flag for enabling subscription restrictions (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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..7f0e2f50e6e3821dbbc2b4f9ac9ce475b85883ed 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 kPushMessagingEndpoint[] =
+ "https://android.googleapis.com/gcm/send/";
+
+const char kPushMessagingPushProtocolEndpoint[] =
+ "https://fcm.googleapis.com/fcm/send/";
const char kPushMessagingForcedNotificationTag[] =
"user_visible_auto_notification";

Powered by Google App Engine
This is Rietveld 408576698