sdefresne | c61ceeed | 2015-08-26 13:53:31 | [diff] [blame] | 1 | // 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 | |
sdefresne | 9f694f7 | 2015-09-22 09:41:26 | [diff] [blame] | 9 | #include "components/crash/core/common/crash_keys.h" |
sdefresne | c61ceeed | 2015-08-26 13:53:31 | [diff] [blame] | 10 | #include "components/variations/active_field_trials.h" |
| 11 | |
| 12 | namespace variations { |
| 13 | |
| 14 | void SetVariationListCrashKeys() { |
| 15 | std::vector<std::string> experiment_strings; |
| 16 | GetFieldTrialActiveGroupIdsAsStrings(&experiment_strings); |
ekaramad | 4808ce31 | 2017-06-07 15:05:56 | [diff] [blame] | 17 | GetSyntheticTrialGroupIdsAsString(&experiment_strings); |
sdefresne | c61ceeed | 2015-08-26 13:53:31 | [diff] [blame] | 18 | crash_keys::SetVariationsList(experiment_strings); |
| 19 | } |
| 20 | |
| 21 | } // namespace variations |