Update V8 to version 4.7.1.
[chromium-blink-merge.git] / components / rappor / reports.h
blobde2006bd918b371e25296a02a88aa86f4cf5b468
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"
12 namespace rappor {
14 struct RapporParameters;
16 namespace internal {
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
25 } // namespace rappor
27 #endif // COMPONENTS_RAPPOR_REPORTS_H_