naiveproxy/services/metrics/public/mojom/ukm_interface.mojom

19 lines
419 B
Plaintext
Raw Normal View History

2018-12-10 05:59:24 +03:00
// Copyright 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
module ukm.mojom;
import "url/mojom/url.mojom";
struct UkmEntry {
int64 source_id;
uint64 event_hash;
map<uint64,int64> metrics;
};
interface UkmRecorderInterface {
AddEntry(UkmEntry entry);
UpdateSourceURL(int64 source_id, string url);
};