summaryrefslogtreecommitdiffstats
path: root/components/rappor.gypi
diff options
context:
space:
mode:
authorholte <holte@chromium.org>2015-04-27 18:05:01 -0700
committerCommit bot <commit-bot@chromium.org>2015-04-28 01:05:30 +0000
commitfeb4e55d126e711b0a5e9dd321371a4923768346 (patch)
treeafac78319235b9c32bd1b26771f932449eee1a64 /components/rappor.gypi
parent3bd4ef1379b970784d0b9cc304cdc1b361dd2646 (diff)
downloadchromium_src-feb4e55d126e711b0a5e9dd321371a4923768346.zip
chromium_src-feb4e55d126e711b0a5e9dd321371a4923768346.tar.gz
chromium_src-feb4e55d126e711b0a5e9dd321371a4923768346.tar.bz2
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}
Diffstat (limited to 'components/rappor.gypi')
-rw-r--r--components/rappor.gypi6
1 files changed, 6 insertions, 0 deletions
diff --git a/components/rappor.gypi b/components/rappor.gypi
index 3fed810..88c77f0 100644
--- a/components/rappor.gypi
+++ b/components/rappor.gypi
@@ -41,6 +41,12 @@
'rappor/rappor_service.h',
'rappor/rappor_utils.cc',
'rappor/rappor_utils.h',
+ 'rappor/reports.cc',
+ 'rappor/reports.h',
+ 'rappor/sample.cc',
+ 'rappor/sample.h',
+ 'rappor/sampler.cc',
+ 'rappor/sampler.h',
],
'variables': {
'proto_in_dir': 'rappor/proto',