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 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" | |
Alexei Svitkine (slow)
2017/02/02 17:29:50
I'm not sure the examples are very useful here. If
Tom Sepez
2017/02/02 18:42:51
Nit: Are there any rules about what's allowed (e.g
nigeltao1
2017/02/03 01:52:49
I've replaced this with:
// See base/metrics/field
| |
28 SetFieldTrialGroup(string trial_name, string group_name); | |
18 }; | 29 }; |
OLD | NEW |