blob: 7ab8246eb92e53f3e07884792e0e626453f63fe0 [file] [log] [blame]
// Copyright 2014 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.
#include "components/rappor/public/rappor_parameters.h"
#include "base/compiler_specific.h"
#include "base/format_macros.h"
#include "base/strings/stringprintf.h"
namespace rappor {
std::string RapporParameters::ToString() const {
return base::StringPrintf("{ %d, %" PRIuS ", %d, %d, %d }",
num_cohorts,
bloom_filter_size_bytes,
bloom_filter_hash_function_count,
noise_level,
recording_group);
}
const int RapporParameters::kMaxCohorts = 512;
} // namespace rappor