mirror of
https://github.com/klzgrad/naiveproxy.git
synced 2024-11-28 16:26:10 +03:00
24 lines
477 B
Plaintext
24 lines
477 B
Plaintext
|
// 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/mojo/url.mojom";
|
||
|
|
||
|
struct UkmMetric {
|
||
|
uint64 metric_hash;
|
||
|
int64 value;
|
||
|
};
|
||
|
|
||
|
struct UkmEntry {
|
||
|
int64 source_id;
|
||
|
uint64 event_hash;
|
||
|
array<UkmMetric> metrics;
|
||
|
};
|
||
|
|
||
|
interface UkmRecorderInterface {
|
||
|
AddEntry(UkmEntry entry);
|
||
|
UpdateSourceURL(int64 source_id, string url);
|
||
|
};
|