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

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: Newline added due to clang build error 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
« no previous file with comments | « components/variations/service/BUILD.gn ('k') | components/variations/service/variations_service_client.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..2c199838f5791619193dce547ce245374617aa0f 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,8 @@ VariationsService::VariationsService(
DCHECK(resource_request_allowed_notifier_.get());
resource_request_allowed_notifier_->Init(this);
+ seed_store_.SetVariationsFirstRunSeedCallback(
+ client_->GetVariationsFirstRunSeedCallback());
}
VariationsService::~VariationsService() {
« no previous file with comments | « components/variations/service/BUILD.gn ('k') | components/variations/service/variations_service_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698