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

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: CityHash 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 {
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 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698