[M120 Migration][Gamepad]Add gamepad event latency Test code
[platform/framework/web/chromium-efl.git] / google_apis / credentials_mode.h
1 // Copyright 2023 The Chromium Authors
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 GOOGLE_APIS_CREDENTIALS_MODE_H_
6 #define GOOGLE_APIS_CREDENTIALS_MODE_H_
7
8 #include "base/component_export.h"
9 #include "services/network/public/mojom/fetch_api.mojom-forward.h"
10
11 namespace google_apis {
12
13 // Returns the CredentialsMode that should be used for requests to Gaia. It
14 // returns kCredentialsMode::kOmit or kOmitBug_775438_Workaround depending on a
15 // variations-controlled feature toggle.
16 COMPONENT_EXPORT(GOOGLE_APIS)
17 network::mojom::CredentialsMode GetOmitCredentialsModeForGaiaRequests();
18
19 }  // namespace google_apis
20
21 #endif  // GOOGLE_APIS_CREDENTIALS_MODE_H_