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

Unified Diff: chrome/browser/metrics/variations/chrome_variations_service_client.cc

Issue 1417503010: Variations seed is pulled from the Java application on the first launch of Chrome (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixes according to latest code review. Created 5 years, 1 month 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/metrics/variations/chrome_variations_service_client.cc
diff --git a/chrome/browser/metrics/variations/chrome_variations_service_client.cc b/chrome/browser/metrics/variations/chrome_variations_service_client.cc
index ed7ceffdba0e273151e35caf42758040de6e4853..3d7d778cf9ca127fcba76ce4c5c2d78320ef41dc 100644
--- a/chrome/browser/metrics/variations/chrome_variations_service_client.cc
+++ b/chrome/browser/metrics/variations/chrome_variations_service_client.cc
@@ -79,6 +79,13 @@ bool ChromeVariationsServiceClient::OverridesRestrictParameter(
#endif
}
+#if defined(OS_ANDROID)
+base::Callback<void(std::string*, std::string*, std::string*)>
+ChromeVariationsServiceClient::GetVariationsFirstRunSeedCallback() {
+ return base::Bind(&PrefServiceBridge::GetVariationsFirstRunSeed);
+}
+#endif // OS_ANDROID
+
void ChromeVariationsServiceClient::OnInitialStartup() {
#if defined(OS_WIN)
StartGoogleUpdateRegistrySync();

Powered by Google App Engine
This is Rietveld 408576698