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

Unified Diff: chrome/common/renderer_configuration.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
« no previous file with comments | « chrome/common/render_messages.h ('k') | chrome/renderer/chrome_render_thread_observer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/renderer_configuration.mojom
diff --git a/chrome/common/renderer_configuration.mojom b/chrome/common/renderer_configuration.mojom
index 851167c743aba7cd62f0bb32fc96680069d4674b..4dc1f6533155af35735399ebf94a14d59738023d 100644
--- a/chrome/common/renderer_configuration.mojom
+++ b/chrome/common/renderer_configuration.mojom
@@ -15,4 +15,10 @@ interface RendererConfiguration {
// Set the content setting rules stored by the renderer.
SetContentSettingRules(
content_settings.mojom.RendererContentSettingRules rules);
+
+ // Tells the renderer to create a FieldTrial, and by using a 100% probability
+ // for the FieldTrial, forces the FieldTrial to have assigned group name.
+ //
+ // See base/metrics/field_trial.h for more information.
+ SetFieldTrialGroup(string trial_name, string group_name);
};
« no previous file with comments | « chrome/common/render_messages.h ('k') | chrome/renderer/chrome_render_thread_observer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698