Index: chrome/common/renderer.mojom |
diff --git a/chrome/common/renderer.mojom b/chrome/common/renderer.mojom |
new file mode 100644 |
index 0000000000000000000000000000000000000000..c0e7ebc8d0d5a7f7a586f27471e379a1772cce4b |
--- /dev/null |
+++ b/chrome/common/renderer.mojom |
@@ -0,0 +1,24 @@ |
+// Copyright 2016 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+module chrome.mojom; |
+ |
+struct InitialConfigurationParams { |
+ // Indicates whether this process is running in incognito mode. |
+ bool is_incognito_process; |
+ |
+ // TODO(nigeltao): port the ChromeViewMsg_SetContentSettingRules legacy IPC |
+ // message to use Mojo. |
+}; |
+ |
+// The primordial Channel-associated interface implemented by a render process. |
+// This should be used for implementing browser-to-renderer control messages |
+// which need to retain FIFO with respect to legacy IPC messages. |
+// |
+// See also content.mojom.Renderer defined in content/common/renderer.mojom. |
+interface Renderer { |
+ // Configures the renderer, queued to send when the render process will |
+ // launch. |
+ InitialConfiguration(InitialConfigurationParams params); |
+}; |