[Chrome Home Survey] Adds client-side filtering
-Reorders order for doesUserQualify -Adds filtering methods -Adds tests for filtering methods -Adds logging for when the last time the random # gen. was rolled -Adds Chrome Home Force Survey check to doesUserQualify to allow for testing of other survey qualifications Filtering method: -Gets the max number from the finch config -Rolls a random number up from 0 (inclusive) to that number (exclusive) -If the random number = 0, process continues for user -Else stop Bug: 778384 Change-Id: Ie7063724614c98121e0e93c1a4b091557635015a Reviewed-on: https://chromium-review.googlesource.com/741867 Commit-Queue: Daniel Park <danielpark@chromium.org> Reviewed-by:Ted Choc <tedchoc@chromium.org> Reviewed-by:
Theresa <twellington@chromium.org> Cr-Commit-Position: refs/heads/master@{#519836}
Showing
Please register or sign in to comment