Avi Drissman | 8ba1bad | 2022-09-13 19:22:36 | [diff] [blame] | 1 | // Copyright 2019 The Chromium Authors |
Kristi Park | 01ca125 | 2019-05-10 22:39:05 | [diff] [blame] | 2 | // Use of this source code is governed by a BSD-style license that can be |
| 3 | // found in the LICENSE file. |
| 4 | |
| 5 | #include "components/ntp_tiles/features.h" |
| 6 | |
| 7 | #include "base/feature_list.h" |
Justin DeWitt | 03ae1bd | 2019-09-10 22:39:51 | [diff] [blame] | 8 | #include "build/build_config.h" |
Kristi Park | 01ca125 | 2019-05-10 22:39:05 | [diff] [blame] | 9 | #include "ui/base/ui_base_features.h" |
| 10 | |
| 11 | namespace ntp_tiles { |
| 12 | |
| 13 | const char kPopularSitesFieldTrialName[] = "NTPPopularSites"; |
| 14 | |
Daniel Cheng | 11f342f | 2022-09-27 23:23:35 | [diff] [blame^] | 15 | BASE_FEATURE(kPopularSitesBakedInContentFeature, |
| 16 | "NTPPopularSitesBakedInContent", |
| 17 | base::FEATURE_ENABLED_BY_DEFAULT); |
Kristi Park | 01ca125 | 2019-05-10 22:39:05 | [diff] [blame] | 18 | |
Daniel Cheng | 11f342f | 2022-09-27 23:23:35 | [diff] [blame^] | 19 | BASE_FEATURE(kNtpMostLikelyFaviconsFromServerFeature, |
| 20 | "NTPMostLikelyFaviconsFromServer", |
| 21 | base::FEATURE_ENABLED_BY_DEFAULT); |
Kristi Park | 01ca125 | 2019-05-10 22:39:05 | [diff] [blame] | 22 | |
Daniel Cheng | 11f342f | 2022-09-27 23:23:35 | [diff] [blame^] | 23 | BASE_FEATURE(kUsePopularSitesSuggestions, |
| 24 | "UsePopularSitesSuggestions", |
| 25 | base::FEATURE_ENABLED_BY_DEFAULT); |
Kristi Park | 01ca125 | 2019-05-10 22:39:05 | [diff] [blame] | 26 | |
Kristi Park | 01ca125 | 2019-05-10 22:39:05 | [diff] [blame] | 27 | } // namespace ntp_tiles |