Index: chrome/common/rappor_recorder.mojom |
diff --git a/chrome/common/rappor_recorder.mojom b/chrome/common/rappor_recorder.mojom |
new file mode 100644 |
index 0000000000000000000000000000000000000000..0c59294621e189ef983f1a1d438f2f7a4f201ada |
--- /dev/null |
+++ b/chrome/common/rappor_recorder.mojom |
@@ -0,0 +1,17 @@ |
+// Copyright 2016 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 mojom; |
+ |
+import "url/mojo/url.mojom"; |
+ |
+interface RapporRecorder { |
+ // Records a sample string to a Rappor privacy-preserving metric. |
+ // See: https://www.chromium.org/developers/design-documents/rappor |
+ RecordRappor(string metric, string sample); |
+ |
+ // Records a domain and registry of a url to a Rappor privacy-preserving |
+ // metric. See: https://www.chromium.org/developers/design-documents/rappor |
+ RecordRapporURL(string metric, url.mojom.Url url); |
+}; |