blob: b389ea0f9a50bb94602aa36cc272909696c5a78f [file] [log] [blame]
sdefresnec61ceeed2015-08-26 13:53:311// Copyright 2014 The Chromium Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5#include "components/variations/variations_util.h"
6
7#include <vector>
8
sdefresne9f694f72015-09-22 09:41:269#include "components/crash/core/common/crash_keys.h"
sdefresnec61ceeed2015-08-26 13:53:3110#include "components/variations/active_field_trials.h"
11
12namespace variations {
13
14void SetVariationListCrashKeys() {
15 std::vector<std::string> experiment_strings;
16 GetFieldTrialActiveGroupIdsAsStrings(&experiment_strings);
ekaramad4808ce312017-06-07 15:05:5617 GetSyntheticTrialGroupIdsAsString(&experiment_strings);
sdefresnec61ceeed2015-08-26 13:53:3118 crash_keys::SetVariationsList(experiment_strings);
19}
20
21} // namespace variations