Multi-dimensional Rappor Implementation
This implements support for Rappor metrics which contain multiple fields that support correlation analysis. Example: scoped_ptr<Sample> sample = rappor_service->CreateSample(COARSE_RAPPOR_TYPE); sample->SetStringField("Domain", "google.com"); sample->SetFlagsField("Flags", 0x10, 8 /* # of bits */); rappor_service->RecordSampleObj("MyMetric", sample.Pass()); This change also removes metric_name from the personalization string for the PRR. This means that two different metrics which report the same value will use the same PRR, which will improve privacy when multiple metrics report the same value. BUG=451647 Review URL: https://codereview.chromium.org/1090683003 Cr-Commit-Position: refs/heads/master@{#327207}
Showing
components/rappor/reports.cc
0 → 100644
components/rappor/reports.h
0 → 100644
components/rappor/sample.cc
0 → 100644
components/rappor/sample.h
0 → 100644
components/rappor/sampler.cc
0 → 100644
components/rappor/sampler.h
0 → 100644
Please register or sign in to comment