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 // See base/metrics/field_trial.h for more information. |
| 23 SetFieldTrialGroup(string trial_name, string group_name); |
18 }; | 24 }; |
OLD | NEW |