chromium/components/search_engines/search_engine_choice/search_engine_choice_metrics_service_accessor.h

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

#ifndef COMPONENTS_SEARCH_ENGINES_SEARCH_ENGINE_CHOICE_SEARCH_ENGINE_CHOICE_METRICS_SERVICE_ACCESSOR_H_
#define COMPONENTS_SEARCH_ENGINES_SEARCH_ENGINE_CHOICE_SEARCH_ENGINE_CHOICE_METRICS_SERVICE_ACCESSOR_H_

#include "base/gtest_prod_util.h"
#include "components/metrics/metrics_service_accessor.h"

namespace search_engines {

// This class limits and documents access to metrics service helper methods.
// Since these methods are private, each user has to be explicitly declared
// as a 'friend' below.
class SearchEngineChoiceMetricsServiceAccessor
    : public metrics::MetricsServiceAccessor {};

}  // namespace search_engines

#endif  // COMPONENTS_SEARCH_ENGINES_SEARCH_ENGINE_CHOICE_SEARCH_ENGINE_CHOICE_METRICS_SERVICE_ACCESSOR_H_