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

Unified Diff: chrome/browser/browser_process_impl.cc

Issue 11753014: Enable the VariationsService on official builds when --variations-service-url is provided. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: init Created 7 years, 12 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/browser_process_impl.cc
diff --git a/chrome/browser/browser_process_impl.cc b/chrome/browser/browser_process_impl.cc
index 1129bd0fe65b12bd65f3013c1720f6a3bc600710..8e291eb7a7089364f8a784226ab7fd56090fbf4e 100644
--- a/chrome/browser/browser_process_impl.cc
+++ b/chrome/browser/browser_process_impl.cc
@@ -415,10 +415,8 @@ net::URLRequestContextGetter* BrowserProcessImpl::system_request_context() {
chrome_variations::VariationsService* BrowserProcessImpl::variations_service() {
DCHECK(CalledOnValidThread());
-#if defined(GOOGLE_CHROME_BUILD) && !defined(OS_ANDROID)
if (!variations_service_.get())
- variations_service_.reset(new chrome_variations::VariationsService());
-#endif
+ variations_service_.reset(chrome_variations::VariationsService::Create());
return variations_service_.get();
}

Powered by Google App Engine
This is Rietveld 408576698