// Copyright 2021 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef NET_BASE_CONNECTION_ENDPOINT_METADATA_TEST_UTIL_H_ #define NET_BASE_CONNECTION_ENDPOINT_METADATA_TEST_UTIL_H_ #include #include #include #include "net/base/connection_endpoint_metadata.h" #include "testing/gmock/include/gmock/gmock.h" #include "testing/gtest/include/gtest/gtest.h" namespace net { testing::Matcher ExpectConnectionEndpointMetadata( testing::Matcher> supported_protocol_alpns_matcher = testing::IsEmpty(), testing::Matcher ech_config_list_matcher = testing::IsEmpty(), testing::Matcher target_name_matcher = testing::IsEmpty()); std::ostream& operator<<( std::ostream& os, const ConnectionEndpointMetadata& connection_endpoint_metadata); } // namespace net #endif // NET_BASE_CONNECTION_ENDPOINT_METADATA_TEST_UTIL_H_