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

Side by Side Diff: components/rappor/proto/rappor_metric.proto

Issue 49753002: RAPPOR implementation (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 10 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 unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2014 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 // Contains information collected by the RAPPOR (Randomized Aggregatable
6 // Privacy-Preserving Ordinal Responses) system.
7 //
8 // For a full description of the rappor metrics, see
9 // http://www.chromium.org/developers/design-documents/rappor
10
11 syntax = "proto2";
12
13 option optimize_for = LITE_RUNTIME;
14
15 package rappor;
16
17 message RapporReports {
Alexei Svitkine (slow) 2014/02/11 16:59:06 Add a comment, including a "Next tag: 4" line.
Steven Holte 2014/02/11 22:08:14 Done.
18 // Which version of the Rappor scheme generated these reports.
19 optional int32 version = 1;
20
21 // Which cohort these reports belong to. The RAPPOR participants are
22 // partioned into cohorts in different ways, to allow better statistics and
23 // increased coverage. In particular, the cohort will serve to choose the
24 // hash functions used for Bloom-filter-based reports.
25 optional int32 cohort = 2;
26
27 message Report {
Alexei Svitkine (slow) 2014/02/11 16:59:06 Probably a short comment explaining what each "rep
Steven Holte 2014/02/11 22:08:14 Done.
28 // The name of the metric, hashed.
29 optional fixed64 name_hash = 1;
30
31 // The sequence of bits produced by random coin flips in
32 // RapporMetric::GetReport(). For a complete description of RAPPOR
33 // metrics, refer to the design document at:
34 // http://www.chromium.org/developers/design-documents/rappor
35 optional bytes bits = 2;
36 }
37 repeated Report report = 3;
38 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698