#include "components/omnibox/browser/omnibox_metrics_provider.h"
#include <memory>
#include <string>
#include "base/test/metrics/histogram_tester.h"
#include "base/test/scoped_feature_list.h"
#include "base/test/task_environment.h"
#include "components/omnibox/browser/autocomplete_match.h"
#include "components/omnibox/browser/autocomplete_match_type.h"
#include "components/omnibox/browser/autocomplete_result.h"
#include "components/omnibox/browser/match_compare.h"
#include "components/omnibox/browser/omnibox_field_trial.h"
#include "components/omnibox/browser/omnibox_log.h"
#include "components/omnibox/browser/omnibox_popup_selection.h"
#include "components/omnibox/common/omnibox_features.h"
#include "components/ukm/test_ukm_recorder.h"
#include "services/metrics/public/cpp/ukm_builders.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/metrics_proto/omnibox_event.pb.h"
#include "third_party/metrics_proto/omnibox_scoring_signals.pb.h"
#include "ui/base/window_open_disposition.h"
ScoringSignals;
OmniboxScoringSignals;
class OmniboxMetricsProviderTest : public testing::Test { … };
TEST_F(OmniboxMetricsProviderTest, ClientSummarizedResultTypeSingleURL) { … }
TEST_F(OmniboxMetricsProviderTest, ClientSummarizedResultTypeSingleSearch) { … }
TEST_F(OmniboxMetricsProviderTest, ClientSummarizedResultTypeMultipleSearch) { … }
TEST_F(OmniboxMetricsProviderTest,
ClientSummarizedResultTypeInvalidUkmSourceId) { … }
#if !(BUILDFLAG(IS_IOS) || BUILDFLAG(IS_ANDROID))
TEST_F(OmniboxMetricsProviderTest, LogScoringSignals) { … }
#endif