#include "components/page_load_metrics/browser/observers/early_hints_page_load_metrics_observer.h"
#include <memory>
#include "components/page_load_metrics/browser/observers/page_load_metrics_observer_content_test_harness.h"
#include "components/page_load_metrics/browser/page_load_tracker.h"
#include "components/page_load_metrics/common/test/page_load_metrics_test_util.h"
#include "content/public/browser/web_contents.h"
#include "content/public/test/navigation_simulator.h"
namespace {
const char kTestUrl[] = …;
class EarlyHintsPageLoadMetricsObserverTest
: public page_load_metrics::PageLoadMetricsObserverContentTestHarness { … };
TEST_F(EarlyHintsPageLoadMetricsObserverTest, PageType) { … }
TEST_F(EarlyHintsPageLoadMetricsObserverTest, WithoutPreload) { … }
TEST_F(EarlyHintsPageLoadMetricsObserverTest, WithPreload) { … }
}