Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4148)

Unified Diff: chrome/browser/policy/policy_browsertest.cc

Issue 1312423003: Turn VariationsService::GetVariationsServerURL into instance method (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/policy/policy_browsertest.cc
diff --git a/chrome/browser/policy/policy_browsertest.cc b/chrome/browser/policy/policy_browsertest.cc
index 9b2ee7c1456e4b41d383229d687fc0bcf8c81d02..00c4118f4a9715db4aabaf768a4098db44eff638 100644
--- a/chrome/browser/policy/policy_browsertest.cc
+++ b/chrome/browser/policy/policy_browsertest.cc
@@ -3775,7 +3775,7 @@ IN_PROC_BROWSER_TEST_F(PolicyVariationsServiceTest, VariationsURLIsValid) {
GetDefaultVariationsServerURLForTesting();
const GURL url =
- chrome_variations::VariationsService::GetVariationsServerURL(
+ 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));

Powered by Google App Engine
This is Rietveld 408576698