Avi Drissman | 8ba1bad | 2022-09-13 19:22:36 | [diff] [blame] | 1 | // Copyright 2020 The Chromium Authors |
Clark DuVall | aadc244c | 2020-06-06 03:47:14 | [diff] [blame] | 2 | // 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 | |
| 10 | namespace site_isolation { |
| 11 | namespace features { |
| 12 | |
Daniel Cheng | 4fd9dbb | 2022-09-24 02:58:42 | [diff] [blame] | 13 | BASE_DECLARE_FEATURE(kSiteIsolationForPasswordSites); |
| 14 | BASE_DECLARE_FEATURE(kSiteIsolationForOAuthSites); |
Peter Kotwicz | ae3fc9eb | 2025-04-10 21:10:46 | [diff] [blame] | 15 | |
| 16 | #if BUILDFLAG(IS_ANDROID) |
| 17 | BASE_DECLARE_FEATURE(kSiteIsolationMemoryThresholdsAndroid); |
Alex Moshchuk | b677b79d | 2021-09-23 22:30:52 | [diff] [blame] | 18 | extern const char kStrictSiteIsolationMemoryThresholdParamName[]; |
| 19 | extern const char kPartialSiteIsolationMemoryThresholdParamName[]; |
Peter Kotwicz | ae3fc9eb | 2025-04-10 21:10:46 | [diff] [blame] | 20 | #endif // BUIDLFLAG(IS_ANDROID) |
| 21 | |
W. James MacLean | 4813ea6f | 2025-01-30 17:46:06 | [diff] [blame] | 22 | BASE_DECLARE_FEATURE(kOriginIsolationMemoryThreshold); |
| 23 | extern const char kOriginIsolationMemoryThresholdParamName[]; |
Clark DuVall | aadc244c | 2020-06-06 03:47:14 | [diff] [blame] | 24 | |
| 25 | } // namespace features |
| 26 | } // namespace site_isolation |
| 27 | |
| 28 | #endif // COMPONENTS_SITE_ISOLATION_FEATURES_H_ |