1// Copyright 2017 The Chromium Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5module ukm.mojom;
6
7import "url/mojom/url.mojom";
8
9struct UkmEntry {
10  int64 source_id;
11  uint64 event_hash;
12  map<uint64,int64> metrics;
13};
14
15interface UkmRecorderInterface {
16  AddEntry(UkmEntry entry);
17  UpdateSourceURL(int64 source_id, string url);
18};
19