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

Unified Diff: components/rappor/reports.h

Issue 1090683003: Alternative Multi-dimensional Rappor (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Use 64-bit shift Created 5 years, 8 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_service_unittest.cc ('k') | components/rappor/reports.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/rappor/reports.h
diff --git a/components/rappor/reports.h b/components/rappor/reports.h
new file mode 100644
index 0000000000000000000000000000000000000000..de2006bd918b371e25296a02a88aa86f4cf5b468
--- /dev/null
+++ b/components/rappor/reports.h
@@ -0,0 +1,27 @@
+// Copyright 2015 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.
+
+#ifndef COMPONENTS_RAPPOR_REPORTS_H_
+#define COMPONENTS_RAPPOR_REPORTS_H_
+
+#include "components/rappor/reports.h"
+
+#include "components/rappor/byte_vector_utils.h"
+
+namespace rappor {
+
+struct RapporParameters;
+
+namespace internal {
+
+// Generate a randomized report for a single metric/field.
+ByteVector GenerateReport(const std::string& secret,
+ const RapporParameters& parameters,
+ const ByteVector& value);
+
+} // namespace internal
+
+} // namespace rappor
+
+#endif // COMPONENTS_RAPPOR_REPORTS_H_
« no previous file with comments | « components/rappor/rappor_service_unittest.cc ('k') | components/rappor/reports.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698