summaryrefslogtreecommitdiff
path: root/chromium/content/browser/webid/flags.h
blob: 1abfa7d474546609e0c1745d1ff96b9a864a440f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
// Copyright 2021 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef CONTENT_BROWSER_WEBID_FLAGS_H_
#define CONTENT_BROWSER_WEBID_FLAGS_H_

// Flags to control WebID for testing/debugging.

namespace content {

// Whether FedCM auto sign-in is enabled.
bool IsFedCmAutoSigninEnabled();

// Whether FedCM IDP sign-out is enabled.
bool IsFedCmIdpSignoutEnabled();

// Whether manifest list fetching and validation is enabled.
bool IsFedCmManifestValidationEnabled();

// Whether multiple identity providers are enabled.
bool IsFedCmMultipleIdentityProvidersEnabled();

// Whether IdpSigninStatus is enabled.
bool IsFedCmIdpSigninStatusEnabled();

// Whether FedCM iframe support is enabled.
bool IsFedCmIframeSupportEnabled();

// Whether metrics endpoint is enabled.
bool IsFedCmMetricsEndpointEnabled();

}  // namespace content

#endif  // CONTENT_BROWSER_WEBID_FLAGS_H_