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 #include "components/rappor/rappor_pref_names.h" | 5 #include "components/rappor/rappor_pref_names.h" |
6 | 6 |
7 namespace rappor { | 7 namespace rappor { |
8 namespace prefs { | 8 namespace prefs { |
9 | 9 |
10 // Deprecated: Old cohort selection pref, should be cleared. | 10 // Deprecated: Old cohort selection pref, should be cleared. |
11 const char kRapporCohortDeprecated[] = "rappor.cohort"; | 11 const char kRapporCohortDeprecated[] = "rappor.cohort"; |
12 | 12 |
13 // A randomly generated number, which determines cohorts data is reported for. | 13 // A randomly generated number, which determines cohorts data is reported for. |
14 const char kRapporCohortSeed[] = "rappor.cohort_seed"; | 14 const char kRapporCohortSeed[] = "rappor.cohort_seed"; |
15 | 15 |
| 16 // True if rappor reports should be uploaded. |
| 17 const char kRapporEnabled[] = "rappor.enabled"; |
| 18 |
16 // Timestamp of the last time we sampled daily metrics. | 19 // Timestamp of the last time we sampled daily metrics. |
17 const char kRapporLastDailySample[] = "rappor.last_daily_sample"; | 20 const char kRapporLastDailySample[] = "rappor.last_daily_sample"; |
18 | 21 |
19 // A base-64 encoded, randomly generated byte string, which is used as a seed | 22 // A base-64 encoded, randomly generated byte string, which is used as a seed |
20 // for redacting collected data. | 23 // for redacting collected data. |
21 // Important: This value should remain secret at the client, and never be | 24 // Important: This value should remain secret at the client, and never be |
22 // reported on the network, or to the server. | 25 // reported on the network, or to the server. |
23 const char kRapporSecret[] = "rappor.secret"; | 26 const char kRapporSecret[] = "rappor.secret"; |
24 | 27 |
25 } // namespace prefs | 28 } // namespace prefs |
26 } // namespace rappor | 29 } // namespace rappor |
OLD | NEW |