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