DescriptionAdd rappor::SampleString for consisntecy with domain+registry case
This patch adds a function to sample a string to RAPPOR, in the same manner
as rappor::SampleDomainAndRegistryFromGURL(). This makes callers look more
consistent regardless whether it records a string or a domain+registry of
a URL. Suggested in a review comment of this CL:
https://codereview.chromium.org/1014543003/#msg48
BUG=461671, 429901
Committed: https://crrev.com/4e5674cf918801089ca56baf5f2fb1142e943e18
Cr-Commit-Position: refs/heads/master@{#324475}
Patch Set 1 #Patch Set 2 : Rename to SampleString #
Messages
Total messages: 9 (2 generated)
|