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

Unified Diff: components/variations/service/variations_service.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: Minor fixes according to code review comments 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: components/variations/service/variations_service.cc
diff --git a/components/variations/service/variations_service.cc b/components/variations/service/variations_service.cc
index 8d3ced5c602e0ab92fe427cf97b1703271c0a6cd..b8bcd9c9fecdb979c86cadd20db30eccbeaa3e7d 100644
--- a/components/variations/service/variations_service.cc
+++ b/components/variations/service/variations_service.cc
@@ -4,6 +4,8 @@
#include "components/variations/service/variations_service.h"
+#include <vector>
+
#include "base/build_time.h"
#include "base/command_line.h"
#include "base/metrics/histogram.h"
@@ -288,6 +290,10 @@ VariationsService::VariationsService(
DCHECK(resource_request_allowed_notifier_.get());
resource_request_allowed_notifier_->Init(this);
+#if defined(OS_ANDROID)
+ seed_store_.SetVariationsFirstRunSeedCallback(
+ client_->GetVariationsFirstRunSeedCallback());
+#endif // OS_ANDROID
}
VariationsService::~VariationsService() {

Powered by Google App Engine
This is Rietveld 408576698