Disable VariationsService for non-GOOGLE_CHROME_BUILD builds.

BUG=162231
TEST=Run non-Official Chromium build and ensure no server-side
only trials are reflected in chrome://version/

Review URL: https://chromiumcodereview.appspot.com/11419142

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@169459 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/chrome/browser/browser_process_impl.cc b/chrome/browser/browser_process_impl.cc
index 0b5f4bb71..5fe7d15f 100644
--- a/chrome/browser/browser_process_impl.cc
+++ b/chrome/browser/browser_process_impl.cc
@@ -408,8 +408,10 @@
 
 chrome_variations::VariationsService* BrowserProcessImpl::variations_service() {
   DCHECK(CalledOnValidThread());
+#if defined(GOOGLE_CHROME_BUILD)
   if (!variations_service_.get())
     variations_service_.reset(new chrome_variations::VariationsService());
+#endif
   return variations_service_.get();
 }