blob: b9f11b7d9dcfef0dc1216f95703fc730a7753a20 [file] [log] [blame]
Ehimare Okoyomon2eccb6072020-05-12 12:22:271// 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 Marukhno46ccd432021-12-03 08:50:275#include "components/page_info/core/features.h"
Ehimare Okoyomon2eccb6072020-05-12 12:22:276
7#include "base/feature_list.h"
8#include "base/metrics/field_trial_params.h"
Xiaohan Wangd9e3b1f02022-01-14 14:48:359#include "build/build_config.h"
Ehimare Okoyomon2eccb6072020-05-12 12:22:2710
11namespace page_info {
12
Xiaohan Wangd9e3b1f02022-01-14 14:48:3513#if BUILDFLAG(IS_ANDROID)
Jordan Oroshiba244e9ff2021-02-04 22:20:3914const base::Feature kPageInfoHistory{"PageInfoHistory",
Ehimare Okoyomon8bfbe7772021-11-15 15:40:5715 base::FEATURE_ENABLED_BY_DEFAULT};
Zhiyuan Caiabef3402021-09-23 19:15:3216const base::Feature kPageInfoStoreInfo{"PageInfoStoreInfo",
17 base::FEATURE_DISABLED_BY_DEFAULT};
Christian Dullweber2b2f02a2022-02-08 19:06:0818
19const base::Feature kPageInfoDiscoverability{"PageInfoDiscoverability",
20 base::FEATURE_ENABLED_BY_DEFAULT};
Christian Dullweber3f91c90c82020-09-09 10:48:2621#endif
Ehimare Okoyomon2eccb6072020-05-12 12:22:2722
Olesia Marukhno0fc754b2021-09-17 15:05:0623const base::Feature kPageInfoAboutThisSite{"PageInfoAboutThisSite",
24 base::FEATURE_DISABLED_BY_DEFAULT};
25
Christian Dullweberd933ad52021-10-28 09:31:2326const base::FeatureParam<bool> kShowSampleContent{&kPageInfoAboutThisSite,
Christian Dullweber8303ced2022-01-28 13:53:2227 "ShowSampleContent", false};
Christian Dullweberd933ad52021-10-28 09:31:2328
Xiaohan Wangd9e3b1f02022-01-14 14:48:3529#if !BUILDFLAG(IS_ANDROID)
Olesia Marukhno72f47472021-12-13 16:53:3730const base::Feature kPageInfoHistoryDesktop{"PageInfoHistoryDesktop",
31 base::FEATURE_DISABLED_BY_DEFAULT};
32#endif
33
Olesia Marukhno4d09c9072021-04-08 09:43:2334} // namespace page_info