Chromium Code Reviews| OLD | NEW |
|---|---|
| (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 { | |
|
ulfar
2014/02/07 20:19:02
What about version numbers? We could piggy-back v
Steven Holte
2014/02/07 21:08:16
Done.
| |
| 18 message Report { | |
| 19 // The name of the metric, hashed. | |
| 20 optional fixed64 name_hash = 1; | |
| 21 | |
| 22 // The sequence of bits produced by random coin flips in | |
| 23 // RapporMetric::GetReport(). For a complete description of RAPPOR | |
| 24 // metrics, refer to the design document at: | |
| 25 // http://www.chromium.org/developers/design-documents/rappor | |
| 26 optional bytes bits = 2; | |
| 27 } | |
| 28 repeated Report report = 1; | |
| 29 | |
| 30 // Which cohort this report belongs to, which varies the hash functions | |
| 31 // used in the bloom filter. | |
|
ulfar
2014/02/07 20:19:02
Better comment:
// Which cohort this report belon
Steven Holte
2014/02/07 21:08:16
Done.
| |
| 32 optional int32 cohort = 2; | |
| 33 } | |
| OLD | NEW |