Avi Drissman | 4a8573c | 2022-09-09 19:35:54 | [diff] [blame] | 1 | // Copyright 2020 The Chromium Authors |
Mattias Nissler | 380cf4f | 2021-03-22 15:50:46 | [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 CHROME_BROWSER_SITE_ISOLATION_ABOUT_FLAGS_H_ |
| 6 | #define CHROME_BROWSER_SITE_ISOLATION_ABOUT_FLAGS_H_ |
| 7 | |
| 8 | #include <string> |
| 9 | |
| 10 | #include "base/strings/strcat.h" |
| 11 | |
| 12 | namespace about_flags { |
| 13 | |
Lei Zhang | d9dd0cd | 2025-05-08 01:00:04 | [diff] [blame] | 14 | inline constexpr char kSiteIsolationTrialOptOutInternalName[] = |
Mattias Nissler | 380cf4f | 2021-03-22 15:50:46 | [diff] [blame] | 15 | "site-isolation-trial-opt-out"; |
| 16 | |
| 17 | inline std::string SiteIsolationTrialOptOutChoiceEnabled() { |
| 18 | return base::StrCat({kSiteIsolationTrialOptOutInternalName, "@1"}); |
| 19 | } |
| 20 | |
| 21 | } // namespace about_flags |
| 22 | |
| 23 | #endif // CHROME_BROWSER_SITE_ISOLATION_ABOUT_FLAGS_H_ |