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

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: 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
« no previous file with comments | « components/rappor/rappor_pref_names.h ('k') | components/rappor/rappor_service.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..e62c764cf86d739ee3c317c90e45236dbfc1d89c
--- /dev/null
+++ b/components/rappor/rappor_pref_names.cc
@@ -0,0 +1,20 @@
+// 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 randomly generated number, which determines cohort data is reported for.
+const char kRapporCohort[] = "rappor.cohort";
+
+// A base-64 encoded, randomly generated byte string, which is used as a seed
+// for redacting collected data.
+// Important: This value should remain secret at the client, and never be
+// reported on the network, or to the server.
+const char kRapporSecret[] = "rappor.secret";
+
+} // namespace prefs
+} // namespace rappor
« 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