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

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

Issue 264123004: Modify rappor parameters. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Revert platform/os part, modify metric names. Created 6 years, 7 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
1 // Copyright 2014 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 // 4 //
5 // Contains information collected by the RAPPOR (Randomized Aggregatable 5 // Contains information collected by the RAPPOR (Randomized Aggregatable
6 // Privacy-Preserving Ordinal Responses) system. 6 // Privacy-Preserving Ordinal Responses) system.
7 // 7 //
8 // For a full description of the rappor metrics, see 8 // For a full description of the rappor metrics, see
9 // http://www.chromium.org/developers/design-documents/rappor 9 // http://www.chromium.org/developers/design-documents/rappor
10 10
11 syntax = "proto2"; 11 syntax = "proto2";
12 12
13 option optimize_for = LITE_RUNTIME; 13 option optimize_for = LITE_RUNTIME;
14 14
15 package rappor; 15 package rappor;
16 16
17 // Next tag: 3 17 // Next tag: 3
18 message RapporReports { 18 message RapporReports {
19 // Which cohort these reports belong to. The RAPPOR participants are 19 // Which cohort these reports belong to. The RAPPOR participants are
20 // partioned into cohorts in different ways, to allow better statistics and 20 // partioned into cohorts in different ways, to allow better statistics and
21 // increased coverage. In particular, the cohort will serve to choose the 21 // increased coverage. In particular, the cohort will serve to choose the
22 // hash functions used for Bloom-filter-based reports. The cohort is 22 // hash functions used for Bloom-filter-based reports. The cohort is
23 // generated randomly by the client and is currently in the range [0,32). 23 // generated randomly by the client and is currently in the range [0,512).
Alexei Svitkine (slow) 2014/05/20 06:59:49 Hmm, should we mention when this changed? (i.e. Ch
Steven Holte 2014/05/20 22:53:53 Not sure how to predict the specific chrome versio
24 optional int32 cohort = 1; 24 optional int32 cohort = 1;
25 25
26 // Each Report contains the values generated by the RAPPOR process for one 26 // Each Report contains the values generated by the RAPPOR process for one
27 // metric. 27 // metric.
28 message Report { 28 message Report {
29 // The name of the metric, hashed (first 8 bytes of MD5 hash). 29 // The name of the metric, hashed (first 8 bytes of MD5 hash).
30 optional fixed64 name_hash = 1; 30 optional fixed64 name_hash = 1;
31 31
32 // The sequence of bits produced by random coin flips in 32 // The sequence of bits produced by random coin flips in
33 // RapporMetric::GetReport(). For a complete description of RAPPOR 33 // RapporMetric::GetReport(). For a complete description of RAPPOR
34 // metrics, refer to the design document at: 34 // metrics, refer to the design document at:
35 // http://www.chromium.org/developers/design-documents/rappor 35 // http://www.chromium.org/developers/design-documents/rappor
36 optional bytes bits = 2; 36 optional bytes bits = 2;
37 } 37 }
38 repeated Report report = 2; 38 repeated Report report = 2;
39 } 39 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698