1
    2
    3
    4
    5
    6
    7
    8
    9
   10
   11
   12
   13
   14
   15
   16
   17
   18
   19
   20

google_apis / credentials_mode.h [blame]

// 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.

#ifndef GOOGLE_APIS_CREDENTIALS_MODE_H_
#define GOOGLE_APIS_CREDENTIALS_MODE_H_

#include "base/component_export.h"
#include "services/network/public/mojom/fetch_api.mojom-forward.h"

namespace google_apis {

// Returns the CredentialsMode that should be used for uncredentialed requests
// to Gaia.
COMPONENT_EXPORT(GOOGLE_APIS)
network::mojom::CredentialsMode GetOmitCredentialsModeForGaiaRequests();

}  // namespace google_apis

#endif  // GOOGLE_APIS_CREDENTIALS_MODE_H_