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 namespace internal {
15 
16 // Generate a randomized report for a single metric/field.
17 ByteVector GenerateReport(const std::string& secret,
18                           const NoiseParameters& parameters,
19                           const ByteVector& value);
20 
21 }  // namespace internal
22 
23 }  // namespace rappor
24 
25 #endif  // COMPONENTS_RAPPOR_REPORTS_H_
26