chromium/chrome/browser/page_load_metrics/observers/bookmark_bar_page_load_metrics_observer_browsertest.cc

// Copyright 2023 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "chrome/browser/page_load_metrics/observers/bookmark_bar_page_load_metrics_observer.h"

#include "base/test/metrics/histogram_tester.h"
#include "build/build_config.h"
#include "chrome/browser/preloading/chrome_preloading.h"
#include "chrome/browser/preloading/prerender/prerender_manager.h"
#include "chrome/browser/preloading/prerender/prerender_utils.h"
#include "chrome/browser/ui/browser.h"
#include "chrome/test/base/chrome_test_utils.h"
#include "chrome/test/base/in_process_browser_test.h"
#include "chrome/test/base/ui_test_utils.h"
#include "content/public/test/browser_test.h"
#include "content/public/test/browser_test_utils.h"
#include "content/public/test/preloading_test_util.h"
#include "content/public/test/prerender_test_util.h"
#include "net/test/embedded_test_server/embedded_test_server.h"
#include "testing/gtest/include/gtest/gtest.h"

class BookmarkBarPageLoadMetricsBrowserTest : public InProcessBrowserTest {};

// This test confirms that non-BookmarkBar triggers don't record metrics for
// BookmarkBar. This test uses Omnibox trigger as a non-BookmarkBar trigger,.
IN_PROC_BROWSER_TEST_F(BookmarkBarPageLoadMetricsBrowserTest,
                       NonBookmarkPrerenderTriggeredByEmbedderAndActivate) {}