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

Unified Diff: components/domain_reliability/config.h

Issue 1497803004: Domain Reliability: Add sample_rate field to Beacon (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: ...actually make sample_rate a double :P 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
Index: components/domain_reliability/config.h
diff --git a/components/domain_reliability/config.h b/components/domain_reliability/config.h
index 7d5e68719b1fd3724f6aea67411f19b3f8f0d643..ba83a8dee2c865fc6c5d69dc70a3974a23f6bf70 100644
--- a/components/domain_reliability/config.h
+++ b/components/domain_reliability/config.h
@@ -32,7 +32,7 @@ struct DOMAIN_RELIABILITY_EXPORT DomainReliabilityConfig {
bool IsValid() const;
- bool DecideIfShouldReportRequest(bool success) const;
+ double GetSampleRate(bool success) const;
jkarlin 2015/12/09 11:46:22 nit: s/success/request_successful/ would help clar
Deprecated (see juliatuttle) 2015/12/10 17:04:23 Done.
// Registers with the JSONValueConverter so it will know how to convert the
// JSON for a config into the struct.

Powered by Google App Engine
This is Rietveld 408576698