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

Unified Diff: chrome/common/renderer.mojom

Issue 2531133002: Convert SetIsIncognitoProcess to use mojo. (Closed)
Patch Set: Created 4 years, 1 month 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.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);
+};

Powered by Google App Engine
This is Rietveld 408576698