#include "content/browser/client_hints/client_hints.h"
#include "base/memory/raw_ptr.h"
#include "base/ranges/algorithm.h"
#include "base/strings/strcat.h"
#include "base/strings/string_number_conversions.h"
#include "base/strings/string_util.h"
#include "base/test/scoped_feature_list.h"
#include "base/time/time.h"
#include "content/public/test/mock_client_hints_controller_delegate.h"
#include "content/public/test/test_browser_context.h"
#include "content/test/test_render_frame_host.h"
#include "content/test/test_render_view_host.h"
#include "content/test/test_web_contents.h"
#include "net/http/http_response_headers.h"
#include "services/metrics/public/cpp/ukm_source_id.h"
#include "services/network/public/cpp/client_hints.h"
#include "services/network/public/cpp/is_potentially_trustworthy.h"
namespace content {
namespace {
ClientHintsVector;
WebClientHintsType;
}
class ClientHintsTest : public RenderViewHostImplTestHarness { … };
TEST_F(ClientHintsTest, RttRoundedOff) { … }
TEST_F(ClientHintsTest, DownlinkRoundedOff) { … }
TEST_F(ClientHintsTest, FinalRttWithin10PercentValue) { … }
TEST_F(ClientHintsTest, FinalDownlinkWithin10PercentValue) { … }
TEST_F(ClientHintsTest, RttMaxValue) { … }
TEST_F(ClientHintsTest, DownlinkMaxValue) { … }
TEST_F(ClientHintsTest, RttRandomized) { … }
TEST_F(ClientHintsTest, DownlinkRandomized) { … }
TEST_F(ClientHintsTest, IntegrationTestsOnParseLookUp) { … }
TEST_F(ClientHintsTest, SubFrame) { … }
}