Chromium Code Reviews| 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 // A randomly generated number, which determines cohorts data is reported for. |
| 11 const char kRapporCohort[] = "rappor.cohort"; | 11 const char kRapporCohortSeed[] = "rappor.cohort_seed"; |
|
Alexei Svitkine (slow)
2014/05/20 06:59:49
Keep the old pref and add code to Clear it, so tha
Steven Holte
2014/05/20 18:28:03
Is there a reliable pattern for doing a one time C
Alexei Svitkine (slow)
2014/05/21 09:13:37
Renaming the pref key the correct way to do this,
Steven Holte
2014/05/21 19:02:57
Done. PTAL.
| |
| 12 | 12 |
| 13 // A base-64 encoded, randomly generated byte string, which is used as a seed | 13 // A base-64 encoded, randomly generated byte string, which is used as a seed |
| 14 // for redacting collected data. | 14 // for redacting collected data. |
| 15 // Important: This value should remain secret at the client, and never be | 15 // Important: This value should remain secret at the client, and never be |
| 16 // reported on the network, or to the server. | 16 // reported on the network, or to the server. |
| 17 const char kRapporSecret[] = "rappor.secret"; | 17 const char kRapporSecret[] = "rappor.secret"; |
| 18 | 18 |
| 19 } // namespace prefs | 19 } // namespace prefs |
| 20 } // namespace rappor | 20 } // namespace rappor |
| OLD | NEW |