Home | History | Annotate | Download | only in variations
      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 "chrome/common/variations/variations_util.h"
      6 
      7 #include <string>
      8 #include <vector>
      9 
     10 #include "chrome/common/child_process_logging.h"
     11 #include "chrome/common/crash_keys.h"
     12 #include "components/variations/active_field_trials.h"
     13 
     14 namespace chrome_variations {
     15 
     16 void SetChildProcessLoggingVariationList() {
     17   std::vector<std::string> experiment_strings;
     18   variations::GetFieldTrialActiveGroupIdsAsStrings(&experiment_strings);
     19   crash_keys::SetVariationsList(experiment_strings);
     20 }
     21 
     22 }  // namespace chrome_variations
     23