Home | History | Annotate | Download | only in rappor
      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
      3 // found in the LICENSE file.
      4 
      5 #include "components/rappor/rappor_pref_names.h"
      6 
      7 namespace rappor {
      8 namespace prefs {
      9 
     10 // Deprecated: Old cohort selection pref, should be cleared.
     11 const char kRapporCohortDeprecated[] = "rappor.cohort";
     12 
     13 // A randomly generated number, which determines cohorts data is reported for.
     14 const char kRapporCohortSeed[] = "rappor.cohort_seed";
     15 
     16 // Timestamp of the last time we sampled daily metrics.
     17 const char kRapporLastDailySample[] = "rappor.last_daily_sample";
     18 
     19 // A base-64 encoded, randomly generated byte string, which is used as a seed
     20 // for redacting collected data.
     21 // Important: This value should remain secret at the client, and never be
     22 // reported on the network, or to the server.
     23 const char kRapporSecret[] = "rappor.secret";
     24 
     25 }  // namespace prefs
     26 }  // namespace rappor
     27