Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2237)

Unified Diff: components/rappor/public/interfaces/rappor_recorder.mojom

Issue 2376403003: Convert RapporRecorder to use mojo. (Closed)
Patch Set: Convert RapporRecorder to use mojo. Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/rappor/public/interfaces/OWNERS ('k') | components/rappor/rappor_recorder_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/rappor/public/interfaces/rappor_recorder.mojom
diff --git a/components/rappor/public/interfaces/rappor_recorder.mojom b/components/rappor/public/interfaces/rappor_recorder.mojom
new file mode 100644
index 0000000000000000000000000000000000000000..38647b45154b89c5b7146068d975f35f887eb86d
--- /dev/null
+++ b/components/rappor/public/interfaces/rappor_recorder.mojom
@@ -0,0 +1,19 @@
+// 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 rappor.mojom;
+
+import "url/mojo/url.mojom";
+
+// Records aggregate, privacy-preserving samples from the renderers.
+// See: https://www.chromium.org/developers/design-documents/rappor
+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);
+};
« no previous file with comments | « components/rappor/public/interfaces/OWNERS ('k') | components/rappor/rappor_recorder_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698