// Copyright 2014 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_METRICS_METRICS_SERVICE_ACCESSOR_H_ #define COMPONENTS_METRICS_METRICS_SERVICE_ACCESSOR_H_ #include <stdint.h> #include <string_view> #include "components/variations/synthetic_trials.h" class PrefService; namespace metrics { class MetricsService; // This class limits and documents access to metrics service helper methods. // These methods are protected so each user has to inherit own program-specific // specialization and enable access there by declaring friends. class MetricsServiceAccessor { … }; } // namespace metrics #endif // COMPONENTS_METRICS_METRICS_SERVICE_ACCESSOR_H_