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 // Timestamp of the last time we sampled daily metrics. |
| 17 const char kRapporLastDailySample[] = "rappor.last_daily_sample"; |
| 18 |
16 // A base-64 encoded, randomly generated byte string, which is used as a seed | 19 // A base-64 encoded, randomly generated byte string, which is used as a seed |
17 // for redacting collected data. | 20 // for redacting collected data. |
18 // Important: This value should remain secret at the client, and never be | 21 // Important: This value should remain secret at the client, and never be |
19 // reported on the network, or to the server. | 22 // reported on the network, or to the server. |
20 const char kRapporSecret[] = "rappor.secret"; | 23 const char kRapporSecret[] = "rappor.secret"; |
21 | 24 |
22 } // namespace prefs | 25 } // namespace prefs |
23 } // namespace rappor | 26 } // namespace rappor |
OLD | NEW |