chromium/components/ip_protection/common/ip_protection_config_http_unittest.cc

// 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 "components/ip_protection/common/ip_protection_config_http.h"

#include <string_view>

#include "base/strings/strcat.h"
#include "base/test/bind.h"
#include "base/test/scoped_feature_list.h"
#include "base/test/task_environment.h"
#include "base/test/test_future.h"
#include "net/base/features.h"
#include "net/traffic_annotation/network_traffic_annotation_test_helper.h"
#include "services/network/public/cpp/resource_request.h"
#include "services/network/public/cpp/weak_wrapper_shared_url_loader_factory.h"
#include "services/network/public/mojom/url_response_head.mojom-shared.h"
#include "services/network/test/test_url_loader_factory.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"

namespace ip_protection {
namespace {

const char kProtobufContentType[] =;

class IpProtectionConfigHttpTest : public testing::Test {};

TEST_F(IpProtectionConfigHttpTest, DoRequestSendsCorrectRequestInitialData) {}

TEST_F(IpProtectionConfigHttpTest,
       DoRequestSendsCorrectRequestAuthAndSignAndExperimentArm) {}

TEST_F(IpProtectionConfigHttpTest,
       DoRequestFailsToConnectReturnsFailureStatus) {}

TEST_F(IpProtectionConfigHttpTest,
       DoRequestInvalidFinchParametersFailsGracefully) {}

TEST_F(IpProtectionConfigHttpTest, DoRequestHttpFailureStatus) {}

}  // namespace
}  // namespace ip_protection