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

Unified Diff: components/domain_reliability/beacon.h

Issue 1497803004: Domain Reliability: Add sample_rate field to Beacon (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add more sample rate tests Created 5 years 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 | « no previous file | components/domain_reliability/beacon.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/domain_reliability/beacon.h
diff --git a/components/domain_reliability/beacon.h b/components/domain_reliability/beacon.h
index 0822c742761747bf00347aef5ecf279b44f35633..1cb88e19e73395af2ec0ca716631d5488510499f 100644
--- a/components/domain_reliability/beacon.h
+++ b/components/domain_reliability/beacon.h
@@ -68,6 +68,8 @@ struct DOMAIN_RELIABILITY_EXPORT DomainReliabilityBeacon {
// caused by an upload that itself contained no beacons caused by uploads,
// et cetera.
int upload_depth;
+ // The probability that this request had of being reported ("sample rate").
+ double sample_rate;
// Okay to copy and assign.
};
« no previous file with comments | « no previous file | components/domain_reliability/beacon.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698