| 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 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 |
| 13 // 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 |
| 14 // profile path. | 14 // profile path. |
| 15 extern const base::FilePath::CharType kDatabaseFolder[]; | 15 extern const base::FilePath::CharType kDatabaseFolder[]; |
| 16 | 16 |
| 17 // Server endpoints for fetching snippets. | 17 // Server endpoints for fetching snippets. |
| 18 extern const char kContentSuggestionsServer[]; // used on stable/beta | 18 extern const char kContentSuggestionsServer[]; // used on stable/beta |
| 19 extern const char kContentSuggestionsStagingServer[]; // used on dev/canary | 19 extern const char kContentSuggestionsStagingServer[]; // used on dev/canary |
| 20 extern const char kContentSuggestionsAlphaServer[]; // for testing | 20 extern const char kContentSuggestionsAlphaServer[]; // for testing |
| 21 | 21 |
| 22 // Server endpoints for push updates subscription. |
| 23 extern const char kPushUpdatesSubscriptionServer[]; // used on stable/beta |
| 24 extern const char |
| 25 kPushUpdatesSubscriptionStagingServer[]; // used on dev/canary |
| 26 extern const char kPushUpdatesSubscriptionAlphaServer[]; // for testing |
| 27 |
| 28 // Server endpoints for push updates unsubscription. |
| 29 extern const char kPushUpdatesUnsubscriptionServer[]; // used on stable/beta |
| 30 extern const char |
| 31 kPushUpdatesUnsubscriptionStagingServer[]; // used on dev/canary |
| 32 extern const char kPushUpdatesUnsubscriptionAlphaServer[]; // for testing |
| 33 |
| 22 } // namespace ntp_snippets | 34 } // namespace ntp_snippets |
| 23 | 35 |
| 24 #endif | 36 #endif |
| OLD | NEW |