Kristi Park | 01ca125 | 2019-05-10 22:39:05 | [diff] [blame] | 1 | // Copyright 2019 The Chromium Authors. All rights reserved. |
| 2 | // Use of this source code is governed by a BSD-style license that can be |
| 3 | // found in the LICENSE file. |
| 4 | |
| 5 | #ifndef COMPONENTS_NTP_TILES_FEATURES_H_ |
| 6 | #define COMPONENTS_NTP_TILES_FEATURES_H_ |
| 7 | |
| 8 | namespace base { |
| 9 | struct Feature; |
| 10 | } // namespace base |
| 11 | |
| 12 | namespace ntp_tiles { |
| 13 | |
| 14 | // Name of the field trial to configure PopularSites. |
| 15 | extern const char kPopularSitesFieldTrialName[]; |
| 16 | |
| 17 | // This feature is enabled by default. Otherwise, users who need it would not |
| 18 | // get the right configuration timely enough. The configuration affects only |
| 19 | // Android or iOS users. |
| 20 | extern const base::Feature kPopularSitesBakedInContentFeature; |
| 21 | |
| 22 | // Feature to allow the new Google favicon server for fetching favicons for Most |
| 23 | // Likely tiles on the New Tab Page. |
| 24 | extern const base::Feature kNtpMostLikelyFaviconsFromServerFeature; |
| 25 | |
| 26 | // If this feature is enabled, we enable popular sites in the suggestions UI. |
| 27 | extern const base::Feature kUsePopularSitesSuggestions; |
| 28 | |
Justin DeWitt | 03ae1bd | 2019-09-10 22:39:51 | [diff] [blame] | 29 | // If this feature is enabled, we use the remote service to populate suggestions |
| 30 | // tiles. |
| 31 | extern const base::Feature kDisplaySuggestionsServiceTiles; |
| 32 | |
Kristi Park | 01ca125 | 2019-05-10 22:39:05 | [diff] [blame] | 33 | } // namespace ntp_tiles |
| 34 | |
| 35 | #endif // COMPONENTS_NTP_TILES_FEATURES_H_ |