#include "net/reporting/reporting_context.h"
#include <optional>
#include <string>
#include "base/test/scoped_feature_list.h"
#include "net/base/features.h"
#include "net/reporting/mock_persistent_reporting_store.h"
#include "net/reporting/reporting_test_util.h"
#include "net/url_request/url_request_context_builder.h"
#include "net/url_request/url_request_test_util.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "url/gurl.h"
namespace net {
namespace {
class ReportingContextTest : public ReportingTestBase,
public ::testing::WithParamInterface<bool> { … };
TEST_P(ReportingContextTest, ReportingContextConstructionWithFeatureEnabled) { … }
TEST_P(ReportingContextTest, ReportingContextConstructionWithFeatureDisabled) { … }
INSTANTIATE_TEST_SUITE_P(…);
}
}