#include "net/dns/httpssvc_metrics.h"
#include <optional>
#include <string>
#include <string_view>
#include <tuple>
#include "base/feature_list.h"
#include "base/strings/strcat.h"
#include "base/strings/string_number_conversions.h"
#include "base/strings/string_util.h"
#include "base/test/metrics/histogram_tester.h"
#include "base/test/scoped_feature_list.h"
#include "net/base/features.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace net {
class HttpssvcMetricsTest : public ::testing::TestWithParam<bool> { … };
INSTANTIATE_TEST_SUITE_P(…);
TEST_P(HttpssvcMetricsTest, AddressAndExperimentalMissing) { … }
TEST_P(HttpssvcMetricsTest, AddressAndHttpsParsable) { … }
TEST_P(HttpssvcMetricsTest, AddressAndHttpsMissingWithRcode) { … }
TEST_P(HttpssvcMetricsTest, AddressAndHttpsParsableWithRcode) { … }
TEST_P(HttpssvcMetricsTest, AddressAndHttpsMangledWithRcode) { … }
TEST_P(HttpssvcMetricsTest, AddressAndHttpsTimedOut) { … }
}