blob: f8e1a179cb1a6c98f96e841028fa2b0ffb73997d [file] [log] [blame]
Avi Drissman8ba1bad2022-09-13 19:22:361// Copyright 2020 The Chromium Authors
Clark DuVallaadc244c2020-06-06 03:47:142// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5#ifndef COMPONENTS_SITE_ISOLATION_FEATURES_H_
6#define COMPONENTS_SITE_ISOLATION_FEATURES_H_
7
8#include "base/feature_list.h"
9
10namespace site_isolation {
11namespace features {
12
Daniel Cheng4fd9dbb2022-09-24 02:58:4213BASE_DECLARE_FEATURE(kSiteIsolationForPasswordSites);
14BASE_DECLARE_FEATURE(kSiteIsolationForOAuthSites);
Peter Kotwiczae3fc9eb2025-04-10 21:10:4615
16#if BUILDFLAG(IS_ANDROID)
17BASE_DECLARE_FEATURE(kSiteIsolationMemoryThresholdsAndroid);
Alex Moshchukb677b79d2021-09-23 22:30:5218extern const char kStrictSiteIsolationMemoryThresholdParamName[];
19extern const char kPartialSiteIsolationMemoryThresholdParamName[];
Peter Kotwiczae3fc9eb2025-04-10 21:10:4620#endif // BUIDLFLAG(IS_ANDROID)
21
W. James MacLean4813ea6f2025-01-30 17:46:0622BASE_DECLARE_FEATURE(kOriginIsolationMemoryThreshold);
23extern const char kOriginIsolationMemoryThresholdParamName[];
Clark DuVallaadc244c2020-06-06 03:47:1424
25} // namespace features
26} // namespace site_isolation
27
28#endif // COMPONENTS_SITE_ISOLATION_FEATURES_H_