chromium/third_party/blink/renderer/core/testing/internals_ukm_recorder.idl

// 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.

callback UkmEntryAddedCallback = undefined ();

interface InternalsUkmRecorder {
  // Return all metrics for all entries with a given name in a
  // human-readable form.
  [CallWith=ScriptState] sequence<object> getMetrics(DOMString entryName, sequence<DOMString> metric_names);
};