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

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 4 years 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..81e3fede12f0a5db492c0970d8b78cd7edcc8e9e 100644
--- a/chrome/common/renderer_configuration.mojom
+++ b/chrome/common/renderer_configuration.mojom
@@ -4,12 +4,14 @@
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);
Sam McNally 2016/12/22 04:46:53 >80 chars.
nigeltao1 2016/12/22 05:00:23 Done.
};
« 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