Resurrect battery_status_dispatcher_unittest.
[chromium-blink-merge.git] / chrome / common / variations / variations_util.cc
blobbaf336c01653f6f4262aa52824f96ef23f82b256
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.
5 #include "chrome/common/variations/variations_util.h"
7 #include <string>
8 #include <vector>
10 #include "chrome/common/child_process_logging.h"
11 #include "chrome/common/crash_keys.h"
12 #include "components/variations/active_field_trials.h"
14 namespace chrome_variations {
16 void SetChildProcessLoggingVariationList() {
17 std::vector<std::string> experiment_strings;
18 variations::GetFieldTrialActiveGroupIdsAsStrings(&experiment_strings);
19 crash_keys::SetVariationsList(experiment_strings);
22 } // namespace chrome_variations