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

Unified Diff: chrome/browser/chrome_browser_main.cc

Issue 13954011: Enable VariationsService on Android. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 7 years, 8 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/chrome_browser_main.cc
===================================================================
--- chrome/browser/chrome_browser_main.cc (revision 194684)
+++ chrome/browser/chrome_browser_main.cc (working copy)
@@ -1455,7 +1455,12 @@
// http://crbug.com/105065.
browser_process_->notification_ui_manager();
-#if !defined(OS_ANDROID)
+#if defined(OS_ANDROID)
+ chrome_variations::VariationsService* variations_service =
+ browser_process_->variations_service();
+ if (variations_service)
+ variations_service->StartRepeatedVariationsSeedFetch();
SteveT 2013/04/18 15:24:53 Could you explain why we chose to do the Android c
Alexei Svitkine (slow) 2013/04/18 15:35:24 If you look down the #else codepath, that's where
+#else
// Most general initialization is behind us, but opening a
// tab and/or session restore and such is still to be done.
base::TimeTicks browser_open_start = base::TimeTicks::Now();
« no previous file with comments | « chrome/browser/chrome_browser_field_trials.cc ('k') | chrome/browser/metrics/variations/variations_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698