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

Side by Side 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 unified diff | Download patch
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "components/ntp_snippets/ntp_snippets_constants.h" 5 #include "components/ntp_snippets/ntp_snippets_constants.h"
6 6
7 namespace ntp_snippets { 7 namespace ntp_snippets {
8 8
9 const base::FilePath::CharType kDatabaseFolder[] = 9 const base::FilePath::CharType kDatabaseFolder[] =
10 FILE_PATH_LITERAL("NTPSnippets"); 10 FILE_PATH_LITERAL("NTPSnippets");
11 11
12 const char kContentSuggestionsServer[] = 12 const char kContentSuggestionsServer[] =
13 "https://chromecontentsuggestions-pa.googleapis.com/v1/suggestions/fetch"; 13 "https://chromecontentsuggestions-pa.googleapis.com/v1/suggestions/fetch";
14 const char kContentSuggestionsStagingServer[] = 14 const char kContentSuggestionsStagingServer[] =
15 "https://staging-chromecontentsuggestions-pa.googleapis.com/v1/suggestions/" 15 "https://staging-chromecontentsuggestions-pa.googleapis.com/v1/suggestions/"
16 "fetch"; 16 "fetch";
17 const char kContentSuggestionsAlphaServer[] = 17 const char kContentSuggestionsAlphaServer[] =
18 "https://alpha-chromecontentsuggestions-pa.sandbox.googleapis.com/v1/" 18 "https://alpha-chromecontentsuggestions-pa.sandbox.googleapis.com/v1/"
19 "suggestions/fetch"; 19 "suggestions/fetch";
20 20
21 const char kPushUpdatesSubscriptionServer[] =
22 "https://chromecontentsuggestions-pa.googleapis.com/v1/suggestions/"
23 "subscribe";
24 const char kPushUpdatesSubscriptionStagingServer[] =
25 "https://staging-chromecontentsuggestions-pa.googleapis.com/v1/suggestions/"
26 "subscribe";
27 const char kPushUpdatesSubscriptionAlphaServer[] =
28 "https://alpha-chromecontentsuggestions-pa.sandbox.googleapis.com/v1/"
29 "suggestions/subscribe";
30
31 const char kPushUpdatesUnsubscriptionServer[] =
32 "https://chromecontentsuggestions-pa.googleapis.com/v1/suggestions/"
33 "unsubscribe";
34 const char kPushUpdatesUnsubscriptionStagingServer[] =
35 "https://staging-chromecontentsuggestions-pa.googleapis.com/v1/suggestions/"
36 "unsubscribe";
37 const char kPushUpdatesUnsubscriptionAlphaServer[] =
38 "https://alpha-chromecontentsuggestions-pa.sandbox.googleapis.com/v1/"
39 "suggestions/unsubscribe";
40
21 } // namespace ntp_snippets 41 } // namespace ntp_snippets
OLDNEW
« 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