OLD | NEW |
(Empty) | |
| 1 // Copyright 2015 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 #ifndef COMPONENTS_RAPPOR_REPORTS_H_ |
| 6 #define COMPONENTS_RAPPOR_REPORTS_H_ |
| 7 |
| 8 #include "components/rappor/reports.h" |
| 9 |
| 10 #include "components/rappor/byte_vector_utils.h" |
| 11 |
| 12 namespace rappor { |
| 13 |
| 14 struct RapporParameters; |
| 15 |
| 16 namespace internal { |
| 17 |
| 18 // Generate a randomized report for a single metric/field. |
| 19 ByteVector GenerateReport(const std::string& secret, |
| 20 const RapporParameters& parameters, |
| 21 const ByteVector& value); |
| 22 |
| 23 } // namespace internal |
| 24 |
| 25 } // namespace rappor |
| 26 |
| 27 #endif // COMPONENTS_RAPPOR_REPORTS_H_ |
OLD | NEW |