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

Unified 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 side-by-side diff with in-line comments
Download patch
Index: chrome/common/field_trial.mojom
diff --git a/chrome/common/field_trial_recorder.mojom b/chrome/common/field_trial.mojom
similarity index 56%
rename from chrome/common/field_trial_recorder.mojom
rename to chrome/common/field_trial.mojom
index 007439d7a17735d999af9f9a0bf2ffc98b441263..6eea4bb15f3a5257c19b351acdc2cdd6d2852e42 100644
--- a/chrome/common/field_trial_recorder.mojom
+++ b/chrome/common/field_trial.mojom
@@ -4,6 +4,13 @@
module chrome.mojom;
+// Sets renderers' field trial groups.
+interface FieldTrialGroupSetter {
+ // Tells the renderer to create a FieldTrial, and by using a 100% probability
+ // for the FieldTrial, forces the FieldTrial to have assigned group name.
+ SetFieldTrialGroup(string trial_name, string group_name);
+};
+
// Records field trial activations from the renderers.
interface FieldTrialRecorder {
// Indicates that a field trial has been activated.

Powered by Google App Engine
This is Rietveld 408576698