chromium/google_apis/common/api_key_request_util_unittest.cc

// Copyright 2024 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "google_apis/common/api_key_request_util.h"

#include "base/test/gtest_util.h"
#include "base/version_info/channel.h"
#include "google_apis/google_api_keys.h"
#include "services/network/public/cpp/resource_request.h"
#include "testing/gtest/include/gtest/gtest.h"

namespace google_apis {
namespace {

constexpr char kApiKeyHeaderName[] =;

class APIKeyRequestUtilTest : public testing::Test {};

TEST_F(APIKeyRequestUtilTest, AddDefaultAPIKeyToRequest) {}

TEST_F(APIKeyRequestUtilTest, AddAPIKeyToRequest) {}

#if DCHECK_IS_ON()
TEST_F(APIKeyRequestUtilTest, AddAPIKeyToRequest_EmptyKey) {}

TEST_F(APIKeyRequestUtilTest, AddAPIKeyToRequest_ExistingHeader) {}
#endif  // DCHECK_IS_ON()

}  // namespace
}  // namespace google_apis