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

Unified Diff: chrome/browser/chrome_browser_main.cc

Issue 688973004: Plumbing for variations headers from synthetic field trials. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Expose another hashed API in variations_associated_data.h Created 6 years, 2 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
diff --git a/chrome/browser/chrome_browser_main.cc b/chrome/browser/chrome_browser_main.cc
index a58813f66dd7d189c97fb043ba7bd24197ed1352..21fa65acb128d8f4fe190b5485441f3e5ac4ad2b 100644
--- a/chrome/browser/chrome_browser_main.cc
+++ b/chrome/browser/chrome_browser_main.cc
@@ -621,6 +621,7 @@ void ChromeBrowserMainParts::SetupMetricsAndFieldTrials() {
command_line->GetSwitchValueASCII(switches::kForceVariationIds));
CHECK(result) << "Invalid --" << switches::kForceVariationIds
<< " list specified.";
+ metrics->AddSyntheticTrialObserver(provider);
}
chrome_variations::VariationsService* variations_service =
browser_process_->variations_service();
« no previous file with comments | « no previous file | components/metrics/metrics_service.h » ('j') | components/variations/net/variations_http_header_provider.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698