#include "components/ip_protection/common/ip_protection_proxy_config_retriever.h"
#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 "components/ip_protection/get_proxy_config.pb.h"
#include "google_apis/common/api_key_request_test_util.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 {
class IpProtectionProxyConfigRetrieverTest : public testing::Test { … };
TEST_F(IpProtectionProxyConfigRetrieverTest, GetProxyConfigSuccess) { … }
TEST_F(IpProtectionProxyConfigRetrieverTest,
GetProxyConfigSuccessWithOAuthToken) { … }
TEST_F(IpProtectionProxyConfigRetrieverTest, GetProxyConfigEmpty) { … }
TEST_F(IpProtectionProxyConfigRetrieverTest, GetProxyConfigFails) { … }
}