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

Side by Side Diff: components/rappor/rappor_parameters.h

Issue 509203002: Create a mechanism for reporting rappor metrics from non-UMA (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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 #ifndef COMPONENTS_RAPPOR_RAPPOR_PARAMETERS_H_ 5 #ifndef COMPONENTS_RAPPOR_RAPPOR_PARAMETERS_H_
6 #define COMPONENTS_RAPPOR_RAPPOR_PARAMETERS_H_ 6 #define COMPONENTS_RAPPOR_RAPPOR_PARAMETERS_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 namespace rappor { 10 namespace rappor {
(...skipping 25 matching lines...) Expand all
36 36
37 // The probability that a bit will be redacted with fake data. 37 // The probability that a bit will be redacted with fake data.
38 Probability fake_prob; 38 Probability fake_prob;
39 // The probability that a fake bit will be a one. 39 // The probability that a fake bit will be a one.
40 Probability fake_one_prob; 40 Probability fake_one_prob;
41 41
42 // The probability that a one bit in the redacted data reports as one. 42 // The probability that a one bit in the redacted data reports as one.
43 Probability one_coin_prob; 43 Probability one_coin_prob;
44 // The probability that a zero bit in the redacted data reports as one. 44 // The probability that a zero bit in the redacted data reports as one.
45 Probability zero_coin_prob; 45 Probability zero_coin_prob;
46
47 // Whether reporting this metric requires all rappor metric reporting
48 // to be enabled.
jwd 2014/08/29 15:45:47 The comment seems backwards to me. Like true means
Steven Holte 2014/09/19 22:48:47 Done.
49 bool always_enabled;
46 }; 50 };
47 51
48 } // namespace rappor 52 } // namespace rappor
49 53
50 #endif // COMPONENTS_RAPPOR_RAPPOR_PARAMETERS_H_ 54 #endif // COMPONENTS_RAPPOR_RAPPOR_PARAMETERS_H_
OLDNEW
« no previous file with comments | « no previous file | components/rappor/rappor_parameters.cc » ('j') | components/rappor/rappor_service.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698