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.
5 #ifndef COMPONENTS_RAPPOR_REPORTS_H_
6 #define COMPONENTS_RAPPOR_REPORTS_H_
8 #include "components/rappor/reports.h"
10 #include "components/rappor/byte_vector_utils.h"
14 struct RapporParameters
;
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
);
23 } // namespace internal
27 #endif // COMPONENTS_RAPPOR_REPORTS_H_