blob: c2919d5c9e3f090081f48b43fbb1fe9df9e11af2 [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
Javier Castro17c70a37c2025-05-29 22:06:3022BASE_DECLARE_FEATURE(kOriginIsolationForJsOptExceptions);
W. James MacLean4813ea6f2025-01-30 17:46:0623BASE_DECLARE_FEATURE(kOriginIsolationMemoryThreshold);
24extern const char kOriginIsolationMemoryThresholdParamName[];
Clark DuVallaadc244c2020-06-06 03:47:1425
26} // namespace features
27} // namespace site_isolation
28
29#endif // COMPONENTS_SITE_ISOLATION_FEATURES_H_