| OLD | NEW |
| 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 Loading... |
| 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 // When true, this metric will be reported even when most rappor metric |
| 48 // reporting is disabled. |
| 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_ |
| OLD | NEW |