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

Unified Diff: chrome/common/renderer_configuration.mojom

Issue 2582203003: Convert SetContentSettingRules to use mojo, part 1/2. (Closed)
Patch Set: Convert SetContentSettingRules to use mojo, part 1/2. 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
Index: chrome/common/renderer_configuration.mojom
diff --git a/chrome/common/renderer_configuration.mojom b/chrome/common/renderer_configuration.mojom
index b04f1bcc8489a5ea79bfed22ba900d5aa110af01..851167c743aba7cd62f0bb32fc96680069d4674b 100644
--- a/chrome/common/renderer_configuration.mojom
+++ b/chrome/common/renderer_configuration.mojom
@@ -4,12 +4,15 @@
module chrome.mojom;
+import "components/content_settings/core/common/content_settings.mojom";
+
// Configures the renderer.
interface RendererConfiguration {
// Configures the renderer, queued to send when the render process will
// launch.
- //
- // TODO(nigeltao): port the ChromeViewMsg_SetContentSettingRules legacy IPC
- // message to be an additional arg here.
SetInitialConfiguration(bool is_incognito_process);
+
+ // Set the content setting rules stored by the renderer.
+ SetContentSettingRules(
+ content_settings.mojom.RendererContentSettingRules rules);
};
« no previous file with comments | « chrome/common/content_settings_pattern_serializer.h ('k') | chrome/renderer/chrome_render_thread_observer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698