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

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

Issue 264123004: Modify rappor parameters. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Revert platform/os part, modify metric names. Created 6 years, 7 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
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 // 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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698