commit | a250f7e51b640f73b06ad0771e670e4d7e3ca138 | [log] [tgz] |
---|---|---|
author | Paul Miller <paulmiller@google.com> | Tue Jun 18 23:20:32 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Tue Jun 18 23:20:32 2019 |
tree | 5e921f4e9c27ed223dc703fc43991d6edd62bd31 | |
parent | 53d2ce28261171598d6ec9f2c1eb4d0fe945b4ba [diff] |
Support filtering variations studies by country in WebView Variations studies can have country filters so they only apply to users in certain countries. WebView must persist these prefs to support this. Studies configured for "session consistency" can use a different country on every run. These studies compare their country filter to the current country, which is stored in kVariationsCountry. Studies configured for "permanent consistency" will continue using the original country if the user moves countries. These studies compare their country filter to all the past countries listed in kVariationsPermanentConsistencyCountry. See CheckStudyCountry() in study_filtering.cc for how this works. BUG=823410 Change-Id: I76d6fc3e69a173d8b2de07ea886c215ad91f2f81 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1665468 Reviewed-by: Tao Bai <michaelbai@chromium.org> Commit-Queue: Paul Miller <paulmiller@chromium.org> Cr-Commit-Position: refs/heads/master@{#670271}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .