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

Unified Diff: chrome/common/renderer.mojom

Issue 2531133002: Convert SetIsIncognitoProcess to use mojo. (Closed)
Patch Set: Convert SetIsIncognitoProcess to use mojo. 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.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);
Ken Rockot(use gerrit already) 2016/12/01 18:46:30 Please just pass a bool argument. You need need a
Ken Rockot(use gerrit already) 2016/12/01 18:49:45 Err... that should be "don't need"
nigeltao1 2016/12/01 21:57:20 It could be just a bool in this CL, but as per the
Ken Rockot(use gerrit already) 2016/12/01 22:02:59 I would still then do: SetInitialConfiguration(bo
nigeltao1 2016/12/02 05:36:53 Done.
+};

Powered by Google App Engine
This is Rietveld 408576698