features.h 1.0 KB

12345678910111213141516171819202122232425262728293031
  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. #ifndef COMPONENTS_NTP_TILES_FEATURES_H_
  5. #define COMPONENTS_NTP_TILES_FEATURES_H_
  6. namespace base {
  7. struct Feature;
  8. } // namespace base
  9. namespace ntp_tiles {
  10. // Name of the field trial to configure PopularSites.
  11. extern const char kPopularSitesFieldTrialName[];
  12. // This feature is enabled by default. Otherwise, users who need it would not
  13. // get the right configuration timely enough. The configuration affects only
  14. // Android or iOS users.
  15. extern const base::Feature kPopularSitesBakedInContentFeature;
  16. // Feature to allow the new Google favicon server for fetching favicons for Most
  17. // Likely tiles on the New Tab Page.
  18. extern const base::Feature kNtpMostLikelyFaviconsFromServerFeature;
  19. // If this feature is enabled, we enable popular sites in the suggestions UI.
  20. extern const base::Feature kUsePopularSitesSuggestions;
  21. } // namespace ntp_tiles
  22. #endif // COMPONENTS_NTP_TILES_FEATURES_H_