Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(406)

Unified Diff: components/rappor/rappor_parameters.cc

Issue 509203002: Create a mechanism for reporting rappor metrics from non-UMA (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/rappor/rappor_parameters.h ('k') | components/rappor/rappor_service.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/rappor/rappor_parameters.cc
diff --git a/components/rappor/rappor_parameters.cc b/components/rappor/rappor_parameters.cc
index ae5b7ba5311749e470641ff4c40cb800f5450178..35ac9cf7f2b285c13cd4111094160c539ba44590 100644
--- a/components/rappor/rappor_parameters.cc
+++ b/components/rappor/rappor_parameters.cc
@@ -10,14 +10,15 @@
namespace rappor {
std::string RapporParameters::ToString() const {
- return base::StringPrintf("{ %d, %d, %d, %d, %d, %d, %d }",
+ return base::StringPrintf("{ %d, %d, %d, %d, %d, %d, %d, %d }",
num_cohorts,
bloom_filter_size_bytes,
bloom_filter_hash_function_count,
fake_prob,
fake_one_prob,
one_coin_prob,
- zero_coin_prob);
+ zero_coin_prob,
+ reporting_level);
}
const int RapporParameters::kMaxCohorts = 512;
« no previous file with comments | « components/rappor/rappor_parameters.h ('k') | components/rappor/rappor_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698