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"; |
| 8 |
7 // Configures the renderer. | 9 // Configures the renderer. |
8 interface RendererConfiguration { | 10 interface RendererConfiguration { |
9 // Configures the renderer, queued to send when the render process will | 11 // Configures the renderer, queued to send when the render process will |
10 // launch. | 12 // launch. |
11 // | |
12 // TODO(nigeltao): port the ChromeViewMsg_SetContentSettingRules legacy IPC | |
13 // message to be an additional arg here. | |
14 SetInitialConfiguration(bool is_incognito_process); | 13 SetInitialConfiguration(bool is_incognito_process); |
| 14 |
| 15 // Set the content setting rules stored by the renderer. |
| 16 SetContentSettingRules( |
| 17 content_settings.mojom.RendererContentSettingRules rules); |
15 }; | 18 }; |
OLD | NEW |