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

Unified Diff: components/rappor/rappor_pref_names.cc

Issue 49753002: RAPPOR implementation (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: CityHash Created 6 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 side-by-side diff with in-line comments
Download patch
Index: components/rappor/rappor_pref_names.cc
diff --git a/components/rappor/rappor_pref_names.cc b/components/rappor/rappor_pref_names.cc
new file mode 100644
index 0000000000000000000000000000000000000000..1fdef16ed8b6a8aec6d75205904a0e65ffdd7dfb
--- /dev/null
+++ b/components/rappor/rappor_pref_names.cc
@@ -0,0 +1,18 @@
+// Copyright 2014 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "components/rappor/rappor_pref_names.h"
+
+namespace rappor {
+namespace prefs {
+
+// A base-64 encoded, randomly generated byte string, which is used as a seed
+// for redacting collected data.
ulfar 2014/02/07 20:19:02 // Important: This value should remain secret at t
Steven Holte 2014/02/07 21:08:16 Done.
+const char kRapporSecret[] = "rappor.secret";
+
+// A randomly generated number, which determines cohort data is reported for.
+const char kRapporCohort[] = "rappor.cohort";
+
+} // namespace prefs
+} // namespace rappor

Powered by Google App Engine
This is Rietveld 408576698