Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(214)

Side by Side Diff: chrome/common/field_trial.mojom

Issue 2642263002: Convert ChromeViewMsg_SetFieldTrialGroup to use mojo. (Closed)
Patch Set: Convert ChromeViewMsg_SetFieldTrialGroup to use mojo. Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698