| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 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 "components/variations/active_field_trials.h" | 5 #include "components/variations/active_field_trials.h" |
| 6 | 6 |
| 7 #include <stddef.h> |
| 8 |
| 7 #include <vector> | 9 #include <vector> |
| 8 | 10 |
| 9 #include "base/strings/stringprintf.h" | 11 #include "base/strings/stringprintf.h" |
| 10 #include "base/strings/utf_string_conversions.h" | 12 #include "base/strings/utf_string_conversions.h" |
| 11 #include "components/variations/metrics_util.h" | 13 #include "components/variations/metrics_util.h" |
| 12 | 14 |
| 13 namespace variations { | 15 namespace variations { |
| 14 | 16 |
| 15 namespace { | 17 namespace { |
| 16 | 18 |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 63 void TestGetFieldTrialActiveGroupIds( | 65 void TestGetFieldTrialActiveGroupIds( |
| 64 const base::FieldTrial::ActiveGroups& active_groups, | 66 const base::FieldTrial::ActiveGroups& active_groups, |
| 65 std::vector<ActiveGroupId>* name_group_ids) { | 67 std::vector<ActiveGroupId>* name_group_ids) { |
| 66 GetFieldTrialActiveGroupIdsForActiveGroups(active_groups, | 68 GetFieldTrialActiveGroupIdsForActiveGroups(active_groups, |
| 67 name_group_ids); | 69 name_group_ids); |
| 68 } | 70 } |
| 69 | 71 |
| 70 } // namespace testing | 72 } // namespace testing |
| 71 | 73 |
| 72 } // namespace variations | 74 } // namespace variations |
| OLD | NEW |