| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 #ifndef COMPONENTS_VARIATIONS_SYNTHETIC_TRIALS_H_ | 5 #ifndef COMPONENTS_VARIATIONS_SYNTHETIC_TRIALS_H_ |
| 6 #define COMPONENTS_VARIATIONS_SYNTHETIC_TRIALS_H_ | 6 #define COMPONENTS_VARIATIONS_SYNTHETIC_TRIALS_H_ |
| 7 | 7 |
| 8 #include <stdint.h> |
| 9 |
| 8 #include <vector> | 10 #include <vector> |
| 9 | 11 |
| 10 #include "base/compiler_specific.h" | 12 #include "base/compiler_specific.h" |
| 11 #include "base/time/time.h" | 13 #include "base/time/time.h" |
| 12 #include "components/variations/active_field_trials.h" | 14 #include "components/variations/active_field_trials.h" |
| 13 | 15 |
| 14 namespace variations { | 16 namespace variations { |
| 15 | 17 |
| 16 // A Field Trial and its selected group, which represent a particular | 18 // A Field Trial and its selected group, which represent a particular |
| 17 // Chrome configuration state. For example, the trial name could map to | 19 // Chrome configuration state. For example, the trial name could map to |
| (...skipping 14 matching lines...) Expand all Loading... |
| 32 virtual void OnSyntheticTrialsChanged( | 34 virtual void OnSyntheticTrialsChanged( |
| 33 const std::vector<SyntheticTrialGroup>& groups) = 0; | 35 const std::vector<SyntheticTrialGroup>& groups) = 0; |
| 34 | 36 |
| 35 protected: | 37 protected: |
| 36 virtual ~SyntheticTrialObserver() {} | 38 virtual ~SyntheticTrialObserver() {} |
| 37 }; | 39 }; |
| 38 | 40 |
| 39 } // namespace variations | 41 } // namespace variations |
| 40 | 42 |
| 41 #endif // COMPONENTS_VARIATIONS_SYNTHETIC_TRIALS_H_ | 43 #endif // COMPONENTS_VARIATIONS_SYNTHETIC_TRIALS_H_ |
| OLD | NEW |