OLD | NEW |
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 // Also defined in SnippetArticleViewHolder.java | 9 // Also defined in SnippetArticleViewHolder.java |
10 const char kStudyName[] = "NTPSnippets"; | 10 const char kStudyName[] = "NTPSnippets"; |
11 | 11 |
12 const base::FilePath::CharType kDatabaseFolder[] = | 12 const base::FilePath::CharType kDatabaseFolder[] = |
13 FILE_PATH_LITERAL("NTPSnippets"); | 13 FILE_PATH_LITERAL("NTPSnippets"); |
14 | 14 |
15 const char kChromeReaderServer[] = | 15 const char kChromeReaderServer[] = |
16 "https://chromereader-pa.googleapis.com/v1/fetch"; | 16 "https://chromereader-pa.googleapis.com/v1/fetch"; |
17 const char kContentSuggestionsServer[] = | 17 const char kContentSuggestionsServer[] = |
18 "https://chromecontentsuggestions-pa.googleapis.com/v1/suggestions/fetch"; | 18 "https://chromecontentsuggestions-pa.googleapis.com/v1/suggestions/fetch"; |
19 const char kContentSuggestionsStagingServer[] = | 19 const char kContentSuggestionsStagingServer[] = |
20 "https://staging-chromecontentsuggestions-pa.googleapis.com/v1/suggestions/f
etch"; | 20 "https://staging-chromecontentsuggestions-pa.googleapis.com/v1/suggestions/" |
| 21 "fetch"; |
21 const char kContentSuggestionsAlphaServer[] = | 22 const char kContentSuggestionsAlphaServer[] = |
22 "https://alpha-chromecontentsuggestions-pa.sandbox.googleapis.com/v1/suggest
ions/fetch"; | 23 "https://alpha-chromecontentsuggestions-pa.sandbox.googleapis.com/v1/" |
| 24 "suggestions/fetch"; |
23 | 25 |
24 } // namespace ntp_snippets | 26 } // namespace ntp_snippets |
OLD | NEW |