| 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 #ifndef COMPONENTS_NTP_SNIPPETS_CONSTANTS_H_ | 5 #ifndef COMPONENTS_NTP_SNIPPETS_CONSTANTS_H_ |
| 6 #define COMPONENTS_NTP_SNIPPETS_CONSTANTS_H_ | 6 #define COMPONENTS_NTP_SNIPPETS_CONSTANTS_H_ |
| 7 | 7 |
| 8 #include "base/files/file_path.h" | 8 #include "base/files/file_path.h" |
| 9 | 9 |
| 10 namespace ntp_snippets { | 10 namespace ntp_snippets { |
| 11 | 11 |
| 12 // Name of the variation parameters study to configure NTP snippets. | 12 // Name of the variation parameters study to configure NTP snippets. |
| 13 extern const char kStudyName[]; | 13 extern const char kStudyName[]; |
| 14 | 14 |
| 15 // Name of the folder where the snippets database should be stored. This is only | 15 // Name of the folder where the snippets database should be stored. This is only |
| 16 // the name of the folder, not a full path - it must be appended to e.g. the | 16 // the name of the folder, not a full path - it must be appended to e.g. the |
| 17 // profile path. | 17 // profile path. |
| 18 extern const base::FilePath::CharType kDatabaseFolder[]; | 18 extern const base::FilePath::CharType kDatabaseFolder[]; |
| 19 | 19 |
| 20 // Server endpoints for fetching snippets. | 20 // Server endpoints for fetching snippets. |
| 21 extern const char kChromeReaderServer[]; // old endpoint | |
| 22 extern const char kContentSuggestionsServer[]; // used on stable/beta | 21 extern const char kContentSuggestionsServer[]; // used on stable/beta |
| 23 extern const char kContentSuggestionsStagingServer[]; // used on dev/canary | 22 extern const char kContentSuggestionsStagingServer[]; // used on dev/canary |
| 24 extern const char kContentSuggestionsAlphaServer[]; // for testing | 23 extern const char kContentSuggestionsAlphaServer[]; // for testing |
| 25 | 24 |
| 26 } // namespace ntp_snippets | 25 } // namespace ntp_snippets |
| 27 | 26 |
| 28 #endif | 27 #endif |
| OLD | NEW |