Ehimare Okoyomon | 2eccb607 | 2020-05-12 12:22:27 | [diff] [blame] | 1 | // Copyright 2020 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 | |
Olesia Marukhno | 46ccd43 | 2021-12-03 08:50:27 | [diff] [blame] | 5 | #include "components/page_info/core/features.h" |
Ehimare Okoyomon | 2eccb607 | 2020-05-12 12:22:27 | [diff] [blame] | 6 | |
| 7 | #include "base/feature_list.h" |
| 8 | #include "base/metrics/field_trial_params.h" |
| 9 | |
| 10 | namespace page_info { |
| 11 | |
Christian Dullweber | 3f91c90c8 | 2020-09-09 10:48:26 | [diff] [blame] | 12 | #if defined(OS_ANDROID) |
Jordan Oroshiba | 244e9ff | 2021-02-04 22:20:39 | [diff] [blame] | 13 | const base::Feature kPageInfoHistory{"PageInfoHistory", |
Ehimare Okoyomon | 8bfbe777 | 2021-11-15 15:40:57 | [diff] [blame] | 14 | base::FEATURE_ENABLED_BY_DEFAULT}; |
Zhiyuan Cai | abef340 | 2021-09-23 19:15:32 | [diff] [blame] | 15 | const base::Feature kPageInfoStoreInfo{"PageInfoStoreInfo", |
| 16 | base::FEATURE_DISABLED_BY_DEFAULT}; |
Christian Dullweber | 3f91c90c8 | 2020-09-09 10:48:26 | [diff] [blame] | 17 | #endif |
Ehimare Okoyomon | 2eccb607 | 2020-05-12 12:22:27 | [diff] [blame] | 18 | |
Olesia Marukhno | 0fc754b | 2021-09-17 15:05:06 | [diff] [blame] | 19 | const base::Feature kPageInfoAboutThisSite{"PageInfoAboutThisSite", |
| 20 | base::FEATURE_DISABLED_BY_DEFAULT}; |
| 21 | |
Christian Dullweber | d933ad5 | 2021-10-28 09:31:23 | [diff] [blame] | 22 | const base::FeatureParam<bool> kShowSampleContent{&kPageInfoAboutThisSite, |
| 23 | "ShowSampleContent", true}; |
| 24 | |
Olesia Marukhno | 72f4747 | 2021-12-13 16:53:37 | [diff] [blame] | 25 | #if !defined(OS_ANDROID) |
| 26 | const base::Feature kPageInfoHistoryDesktop{"PageInfoHistoryDesktop", |
| 27 | base::FEATURE_DISABLED_BY_DEFAULT}; |
| 28 | #endif |
| 29 | |
Olesia Marukhno | 4d09c907 | 2021-04-08 09:43:23 | [diff] [blame] | 30 | } // namespace page_info |