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. | |
13 extern const char kStudyName[]; | |
14 | |
15 // Name of the folder where the snippets database should be stored. This is only | 12 // 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 | 13 // the name of the folder, not a full path - it must be appended to e.g. the |
17 // profile path. | 14 // profile path. |
18 extern const base::FilePath::CharType kDatabaseFolder[]; | 15 extern const base::FilePath::CharType kDatabaseFolder[]; |
19 | 16 |
20 // Server endpoints for fetching snippets. | 17 // Server endpoints for fetching snippets. |
21 extern const char kContentSuggestionsServer[]; // used on stable/beta | 18 extern const char kContentSuggestionsServer[]; // used on stable/beta |
22 extern const char kContentSuggestionsStagingServer[]; // used on dev/canary | 19 extern const char kContentSuggestionsStagingServer[]; // used on dev/canary |
23 extern const char kContentSuggestionsAlphaServer[]; // for testing | 20 extern const char kContentSuggestionsAlphaServer[]; // for testing |
24 | 21 |
25 } // namespace ntp_snippets | 22 } // namespace ntp_snippets |
26 | 23 |
27 #endif | 24 #endif |
OLD | NEW |