OLD | NEW |
(Empty) | |
| 1 // Copyright 2016 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 |
| 5 module rappor.mojom; |
| 6 |
| 7 import "url/mojo/url.mojom"; |
| 8 |
| 9 // Records aggregate, privacy-preserving samples from the renderers. |
| 10 // See: https://www.chromium.org/developers/design-documents/rappor |
| 11 interface RapporRecorder { |
| 12 // Records a sample string to a Rappor privacy-preserving metric. |
| 13 // See: https://www.chromium.org/developers/design-documents/rappor |
| 14 RecordRappor(string metric, string sample); |
| 15 |
| 16 // Records a domain and registry of a url to a Rappor privacy-preserving |
| 17 // metric. See: https://www.chromium.org/developers/design-documents/rappor |
| 18 RecordRapporURL(string metric, url.mojom.Url url); |
| 19 }; |
OLD | NEW |