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

Unified Diff: components/ntp_snippets/ntp_snippets_constants.cc

Issue 2925053003: [NTP::Push] Adding BreakingNewsSuggestionsProvider (Closed)
Patch Set: sfiera@ comments. Created 3 years, 6 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: components/ntp_snippets/ntp_snippets_constants.cc
diff --git a/components/ntp_snippets/ntp_snippets_constants.cc b/components/ntp_snippets/ntp_snippets_constants.cc
index 82304939470eaa67d51ec1ff8ca809b408d3b2aa..49e15643d14c820fc8585bcf4ef87048754aba61 100644
--- a/components/ntp_snippets/ntp_snippets_constants.cc
+++ b/components/ntp_snippets/ntp_snippets_constants.cc
@@ -18,4 +18,24 @@ const char kContentSuggestionsAlphaServer[] =
"https://alpha-chromecontentsuggestions-pa.sandbox.googleapis.com/v1/"
"suggestions/fetch";
+const char kPushUpdatesSubscriptionServer[] =
+ "https://chromecontentsuggestions-pa.googleapis.com/v1/suggestions/"
+ "subscribe";
+const char kPushUpdatesSubscriptionStagingServer[] =
+ "https://staging-chromecontentsuggestions-pa.googleapis.com/v1/suggestions/"
+ "subscribe";
+const char kPushUpdatesSubscriptionAlphaServer[] =
+ "https://alpha-chromecontentsuggestions-pa.sandbox.googleapis.com/v1/"
+ "suggestions/unsubscribe";
jkrcal 2017/06/09 11:32:59 subscribe?
mamir 2017/06/09 14:41:01 Thank you very much for spotting this!!!
+
+const char kPushUpdatesUnsubscriptionServer[] =
+ "https://chromecontentsuggestions-pa.googleapis.com/v1/suggestions/"
+ "subscribe";
jkrcal 2017/06/09 11:32:59 unsubscribe?
mamir 2017/06/09 14:41:01 Done.
+const char kPushUpdatesUnsubscriptionStagingServer[] =
+ "https://staging-chromecontentsuggestions-pa.googleapis.com/v1/suggestions/"
+ "unsubscribe";
+const char kPushUpdatesUnsubscriptionAlphaServer[] =
+ "https://alpha-chromecontentsuggestions-pa.sandbox.googleapis.com/v1/"
+ "suggestions/unsubscribe";
+
} // namespace ntp_snippets

Powered by Google App Engine
This is Rietveld 408576698