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/variations_seed_simulator.h" | 5 #include "components/variations/variations_seed_simulator.h" |
6 | 6 |
| 7 #include <stddef.h> |
| 8 |
7 #include <map> | 9 #include <map> |
8 | 10 |
9 #include "base/metrics/field_trial.h" | 11 #include "base/metrics/field_trial.h" |
10 #include "components/variations/processed_study.h" | 12 #include "components/variations/processed_study.h" |
11 #include "components/variations/proto/study.pb.h" | 13 #include "components/variations/proto/study.pb.h" |
12 #include "components/variations/study_filtering.h" | 14 #include "components/variations/study_filtering.h" |
13 #include "components/variations/variations_associated_data.h" | 15 #include "components/variations/variations_associated_data.h" |
14 | 16 |
15 namespace variations { | 17 namespace variations { |
16 | 18 |
(...skipping 230 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
247 return ConvertExperimentTypeToChangeType(experiment->type()); | 249 return ConvertExperimentTypeToChangeType(experiment->type()); |
248 } | 250 } |
249 | 251 |
250 // Current group exists in the study - check whether its params changed. | 252 // Current group exists in the study - check whether its params changed. |
251 if (!VariationParamsAreEqual(study, *experiment)) | 253 if (!VariationParamsAreEqual(study, *experiment)) |
252 return ConvertExperimentTypeToChangeType(experiment->type()); | 254 return ConvertExperimentTypeToChangeType(experiment->type()); |
253 return NO_CHANGE; | 255 return NO_CHANGE; |
254 } | 256 } |
255 | 257 |
256 } // namespace variations | 258 } // namespace variations |
OLD | NEW |