Index: chrome/browser/chrome_browser_main.cc |
diff --git a/chrome/browser/chrome_browser_main.cc b/chrome/browser/chrome_browser_main.cc |
index 77205a8c97e539fc6b92b53d3abf86c594c3c806..dab69e3ebfb66c78cc3b3439475865ea60355293 100644 |
--- a/chrome/browser/chrome_browser_main.cc |
+++ b/chrome/browser/chrome_browser_main.cc |
@@ -1483,6 +1483,8 @@ int ChromeBrowserMainParts::PreMainMessageLoopRunImpl() { |
#if defined(OS_ANDROID) |
chrome_variations::VariationsService* variations_service = |
browser_process_->variations_service(); |
+ if (profile_ && profile_->GetPrefs()) |
+ variations_service->set_policy_pref_service(profile_->GetPrefs()); |
Joao da Silva
2014/01/28 14:19:35
The line below tests |variations_service|, should
Mathieu
2014/01/28 14:24:47
Sure. Done.
|
if (variations_service) |
variations_service->StartRepeatedVariationsSeedFetch(); |
#else |