OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 module chrome.mojom; | 5 module chrome.mojom; |
6 | 6 |
| 7 // Sets renderers' field trial groups. |
| 8 interface FieldTrialGroupSetter { |
| 9 // Tells the renderer to create a FieldTrial, and by using a 100% probability |
| 10 // for the FieldTrial, forces the FieldTrial to have assigned group name. |
| 11 SetFieldTrialGroup(string trial_name, string group_name); |
| 12 }; |
| 13 |
7 // Records field trial activations from the renderers. | 14 // Records field trial activations from the renderers. |
8 interface FieldTrialRecorder { | 15 interface FieldTrialRecorder { |
9 // Indicates that a field trial has been activated. | 16 // Indicates that a field trial has been activated. |
10 FieldTrialActivated(string trial_name); | 17 FieldTrialActivated(string trial_name); |
11 }; | 18 }; |
OLD | NEW |