// Copyright 2023 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/browser/enterprise/profile_management/profile_management_features.h" #include "build/build_config.h" namespace profile_management::features { BASE_FEATURE(…); BASE_FEATURE(…); BASE_FEATURE(…); BASE_FEATURE(…); BASE_FEATURE(…); // Allow Oidc Enrollment flow to use a stubbed DM token rather than fetching a // real one from DM server, if one is supplied. constexpr base::FeatureParam<std::string> kOidcAuthStubDmToken{ … }; // Allow Oidc Enrollment flow to use a stubbed profile id rather than generating // one using regular workflow, if one is supplied. constexpr base::FeatureParam<std::string> kOidcAuthStubProfileId{ … }; // Allow Oidc Enrollment flow to use a stubbed client id rather than generating // one using regular workflow, if one is supplied. constexpr base::FeatureParam<std::string> kOidcAuthStubClientId{ … }; // Allow Oidc Enrollment flow to use a stubbed user display name instead of // retrieving it from DM server. constexpr base::FeatureParam<std::string> kOidcAuthStubUserName{ … }; // Allow Oidc Enrollment flow to use a stubbed user display email instead of // retrieving it from DM server. constexpr base::FeatureParam<std::string> kOidcAuthStubUserEmail{ … }; // Controls whether Oidc Enrollment flow follows dasherless flow or dasher-based // flow. This param can only convert a dasher based flow to a dasherless one, // and does not work the other way around. constexpr base::FeatureParam<bool> kOidcAuthIsDasherBased{ … }; // If set to `true`, OIDC flow will always fail its registration and trigger the // Error dialog. constexpr base::FeatureParam<bool> kOidcAuthForceErrorUi{ … }; // If set to `true`, OIDC flow will always fail its policy fetch and trigger the // Timeout dialog. constexpr base::FeatureParam<bool> kOidcAuthForceTimeoutUi{ … }; // Controls the timeout duration of client registration during OIDC enrollment // flow, in seconds. constexpr base::FeatureParam<base::TimeDelta> kOidcEnrollRegistrationTimeout{ … }; } // namespace profile_management::features