Turn VariationsService::GetVariationsServerURL into instance method
commitdcc53f65eb04018ca60b077a55aa5923ac5e8e9c
authorblundell <blundell@chromium.org>
Wed, 2 Sep 2015 10:33:17 +0000 (2 03:33 -0700)
committerCommit bot <commit-bot@chromium.org>
Wed, 2 Sep 2015 10:33:54 +0000 (2 10:33 +0000)
tree6e48dc53199955f4bbc9750822fa907e53ec3fd3
parent17b98014671ed2d4d8ebe1bcef09fb8828876436
Turn VariationsService::GetVariationsServerURL into instance method

This will allow for followup work that uses |client_| within that
method.

Reland of https://codereview.chromium.org/1309843005 with the browsertests
fixed to remove the unsafe accesses to g_browser_process->variations_service().

BUG=516678

Review URL: https://codereview.chromium.org/1313213005

Cr-Commit-Position: refs/heads/master@{#346878}
chrome/browser/chromeos/policy/variations_service_policy_browsertest.cc
chrome/browser/metrics/variations/variations_service.cc
chrome/browser/metrics/variations/variations_service.h
chrome/browser/metrics/variations/variations_service_unittest.cc
chrome/browser/policy/policy_browsertest.cc