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

Unified Diff: components/ntp_snippets/ntp_snippets_constants.cc

Issue 2925053003: [NTP::Push] Adding BreakingNewsSuggestionsProvider (Closed)
Patch Set: Fixing the build. 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
« no previous file with comments | « components/ntp_snippets/ntp_snippets_constants.h ('k') | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..f65bce4b9a8168b667e527146bb321de49062e1f 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/subscribe";
+
+const char kPushUpdatesUnsubscriptionServer[] =
+ "https://chromecontentsuggestions-pa.googleapis.com/v1/suggestions/"
+ "unsubscribe";
+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
« no previous file with comments | « components/ntp_snippets/ntp_snippets_constants.h ('k') | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698