Chromium Code Reviews| Index: chrome/browser/chromeos/policy/variations_service_policy_browsertest.cc |
| diff --git a/chrome/browser/chromeos/policy/variations_service_policy_browsertest.cc b/chrome/browser/chromeos/policy/variations_service_policy_browsertest.cc |
| index a997ec94fce13fa7dbe37d9cee4f906880d7746a..603a98106544da74d71c2adbcb414eca63fd644a 100644 |
| --- a/chrome/browser/chromeos/policy/variations_service_policy_browsertest.cc |
| +++ b/chrome/browser/chromeos/policy/variations_service_policy_browsertest.cc |
| @@ -42,8 +42,9 @@ IN_PROC_BROWSER_TEST_F(VariationsServiceDevicePolicyTest, VariationsURLValid) { |
| GetDefaultVariationsServerURLForTesting(); |
| // Device policy has updated the cros settings. |
| - const GURL url = chrome_variations::VariationsService::GetVariationsServerURL( |
| - g_browser_process->local_state(), std::string()); |
| + const GURL url = |
| + g_browser_process->variations_service()->GetVariationsServerURL( |
|
bartfab (slow)
2015/08/29 07:25:09
Nit: #include "chrome/browser/browser_process.h"
|
| + g_browser_process->local_state(), std::string()); |
| EXPECT_TRUE(base::StartsWith(url.spec(), default_variations_url, |
| base::CompareCase::SENSITIVE)); |
| std::string value; |