blob: 51863d6a289264c5feb6f31a834d7ad530235a96 [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"
9
10namespace page_info {
11
Christian Dullweber3f91c90c82020-09-09 10:48:2612#if defined(OS_ANDROID)
Jordan Oroshiba244e9ff2021-02-04 22:20:3913const base::Feature kPageInfoHistory{"PageInfoHistory",
Ehimare Okoyomon8bfbe7772021-11-15 15:40:5714 base::FEATURE_ENABLED_BY_DEFAULT};
Zhiyuan Caiabef3402021-09-23 19:15:3215const base::Feature kPageInfoStoreInfo{"PageInfoStoreInfo",
16 base::FEATURE_DISABLED_BY_DEFAULT};
Christian Dullweber3f91c90c82020-09-09 10:48:2617#endif
Ehimare Okoyomon2eccb6072020-05-12 12:22:2718
Olesia Marukhno0fc754b2021-09-17 15:05:0619const base::Feature kPageInfoAboutThisSite{"PageInfoAboutThisSite",
20 base::FEATURE_DISABLED_BY_DEFAULT};
21
Christian Dullweberd933ad52021-10-28 09:31:2322const base::FeatureParam<bool> kShowSampleContent{&kPageInfoAboutThisSite,
23 "ShowSampleContent", true};
24
Olesia Marukhno72f47472021-12-13 16:53:3725#if !defined(OS_ANDROID)
26const base::Feature kPageInfoHistoryDesktop{"PageInfoHistoryDesktop",
27 base::FEATURE_DISABLED_BY_DEFAULT};
28#endif
29
Olesia Marukhno4d09c9072021-04-08 09:43:2330} // namespace page_info