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 kContentSuggestionsServer[] = | 15 const char kContentSuggestionsServer[] = |
16 "https://chromecontentsuggestions-pa.googleapis.com/v1/suggestions/fetch"; | 16 "https://chromecontentsuggestions-pa.googleapis.com/v1/suggestions/fetch"; |
17 const char kContentSuggestionsStagingServer[] = | 17 const char kContentSuggestionsStagingServer[] = |
18 "https://staging-chromecontentsuggestions-pa.googleapis.com/v1/suggestions/f
etch"; | 18 "https://staging-chromecontentsuggestions-pa.googleapis.com/v1/suggestions/" |
| 19 "fetch"; |
19 const char kContentSuggestionsAlphaServer[] = | 20 const char kContentSuggestionsAlphaServer[] = |
20 "https://alpha-chromecontentsuggestions-pa.sandbox.googleapis.com/v1/suggest
ions/fetch"; | 21 "https://alpha-chromecontentsuggestions-pa.sandbox.googleapis.com/v1/" |
| 22 "suggestions/fetch"; |
21 | 23 |
22 } // namespace ntp_snippets | 24 } // namespace ntp_snippets |
OLD | NEW |