Add plumbing for accessing latest country in variations service in Java

Desktop / Chromium - yusufo [chromium.org] - 20 April 2017 16:24 EDT

Checking what the latest country is according to variations service is an important signal for various features but this is currently not exposed in variations_service code. This adds the required plumbing from
variations_service to the corresponding Android side classes.

BUG=713381

Review-Url: https://codereview.chromium.org/2828093002 Cr-Commit-Position: refs/heads/master@{#466107}

d855bfd Add plumbing for accessing latest country in variations service in Java
.../chrome/browser/ChromeActivitySessionTracker.java | 9 +++++++++
.../chrome/browser/metrics/VariationsSession.java | 8 ++++++++
chrome/browser/android/metrics/variations_session.cc | 15 +++++++++++++++
components/variations/service/variations_service.cc | 4 ++++
components/variations/service/variations_service.h | 4 ++++
5 files changed, 40 insertions(+)

Upstream: git.chromium.org


  • Share