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 // A randomly generated number, which determines cohort data is reported for. | 10 // Deprecated: Old cohort selection pref, should be cleared. |
11 const char kRapporCohort[] = "rappor.cohort"; | 11 const char kRapporCohortDeprecated[] = "rappor.cohort"; |
| 12 |
| 13 // A randomly generated number, which determines cohorts data is reported for. |
| 14 const char kRapporCohortSeed[] = "rappor.cohort_seed"; |
12 | 15 |
13 // A base-64 encoded, randomly generated byte string, which is used as a seed | 16 // A base-64 encoded, randomly generated byte string, which is used as a seed |
14 // for redacting collected data. | 17 // for redacting collected data. |
15 // Important: This value should remain secret at the client, and never be | 18 // Important: This value should remain secret at the client, and never be |
16 // reported on the network, or to the server. | 19 // reported on the network, or to the server. |
17 const char kRapporSecret[] = "rappor.secret"; | 20 const char kRapporSecret[] = "rappor.secret"; |
18 | 21 |
19 } // namespace prefs | 22 } // namespace prefs |
20 } // namespace rappor | 23 } // namespace rappor |
OLD | NEW |