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

Side by Side 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 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 import "components/content_settings/core/common/content_settings.mojom"; 7 import "components/content_settings/core/common/content_settings.mojom";
8 8
9 // Configures the renderer. 9 // Configures the renderer.
10 interface RendererConfiguration { 10 interface RendererConfiguration {
11 // Configures the renderer, queued to send when the render process will 11 // Configures the renderer, queued to send when the render process will
12 // launch. 12 // launch.
13 SetInitialConfiguration(bool is_incognito_process); 13 SetInitialConfiguration(bool is_incognito_process);
14 14
15 // Set the content setting rules stored by the renderer. 15 // Set the content setting rules stored by the renderer.
16 SetContentSettingRules( 16 SetContentSettingRules(
17 content_settings.mojom.RendererContentSettingRules rules); 17 content_settings.mojom.RendererContentSettingRules rules);
18
19 // Tells the renderer to create a FieldTrial, and by using a 100% probability
20 // for the FieldTrial, forces the FieldTrial to have assigned group name.
21 //
22 // Example trial_name / group_name pairs are:
23 // - "BrowserScheduler" / "Default"
24 // - "QUIC" / "Enabled"
25 // - "SimpleCacheTrial" / "ExperimentYes"
26 // - "WebFontsInterventionV2" / "Enabled-slow2g"
27 // - "MarkNonSecureAs" / "show-non-secure-passwords-cc-ui"
28 SetFieldTrialGroup(string trial_name, string group_name);
18 }; 29 };
30
31 // Records field trial activations from the renderers.
32 interface FieldTrialRecorder {
33 // Indicates that a field trial has been activated.
34 FieldTrialActivated(string trial_name);
35 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698