// Copyright 2021 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_STRUCTURED_STRUCTURED_METRICS_CLIENT_H_ #define COMPONENTS_METRICS_STRUCTURED_STRUCTURED_METRICS_CLIENT_H_ #include "base/component_export.h" #include "base/memory/raw_ptr.h" #include "base/no_destructor.h" #include "build/buildflag.h" #include "components/metrics/structured/event.h" namespace metrics::structured { // Singleton to interact with StructuredMetrics. // // It allows a delegate to be set to control the recording logic as different // embedders have different requirements (ie ash vs lacros). class COMPONENT_EXPORT(METRICS_STRUCTURED) StructuredMetricsClient { … }; } // namespace metrics::structured #endif // COMPONENTS_METRICS_STRUCTURED_STRUCTURED_METRICS_CLIENT_H_