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

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

Issue 886523003: Add a Rappor option in the settings page. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 5 years, 10 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_prefs.cc » ('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 // 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
OLDNEW
« no previous file with comments | « components/rappor/rappor_pref_names.h ('k') | components/rappor/rappor_prefs.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698