| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "chrome/common/metrics/variations/variations_util.h" | 5 #include "chrome/common/variations/variations_util.h" |
| 6 |
| 7 #include <string> |
| 8 #include <vector> |
| 6 | 9 |
| 7 #include "chrome/common/child_process_logging.h" | 10 #include "chrome/common/child_process_logging.h" |
| 8 #include "chrome/common/crash_keys.h" | 11 #include "chrome/common/crash_keys.h" |
| 9 #include "components/variations/active_field_trials.h" | 12 #include "components/variations/active_field_trials.h" |
| 10 | 13 |
| 11 namespace chrome_variations { | 14 namespace chrome_variations { |
| 12 | 15 |
| 13 void SetChildProcessLoggingVariationList() { | 16 void SetChildProcessLoggingVariationList() { |
| 14 std::vector<std::string> experiment_strings; | 17 std::vector<std::string> experiment_strings; |
| 15 variations::GetFieldTrialActiveGroupIdsAsStrings(&experiment_strings); | 18 variations::GetFieldTrialActiveGroupIdsAsStrings(&experiment_strings); |
| 16 crash_keys::SetVariationsList(experiment_strings); | 19 crash_keys::SetVariationsList(experiment_strings); |
| 17 } | 20 } |
| 18 | 21 |
| 19 } // namespace chrome_variations | 22 } // namespace chrome_variations |
| OLD | NEW |