Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(114)

Side by Side Diff: components/rappor/rappor_pref_names.cc

Issue 511623002: Add a mechanism for collecting Rappor samples on a daily interval. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « components/rappor/rappor_pref_names.h ('k') | components/rappor/rappor_service.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
OLDNEW
« no previous file with comments | « components/rappor/rappor_pref_names.h ('k') | components/rappor/rappor_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698