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

Unified Diff: mojo/shell/tests/lifecycle/lifecycle_unittest.mojom

Issue 1810713002: Cascade shutdown of instances (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@55all_users
Patch Set: . Created 4 years, 9 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
« no previous file with comments | « mojo/shell/tests/lifecycle/lifecycle_unittest.cc ('k') | mojo/shell/tests/lifecycle/parent.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/shell/tests/lifecycle/lifecycle_unittest.mojom
diff --git a/mojo/shell/tests/lifecycle/lifecycle_unittest.mojom b/mojo/shell/tests/lifecycle/lifecycle_unittest.mojom
index 1ae54e8eb3918a58e2747c10df79d265f091c56a..2197e3bcab3f61c0bb68815a05e026fd1758eddf 100644
--- a/mojo/shell/tests/lifecycle/lifecycle_unittest.mojom
+++ b/mojo/shell/tests/lifecycle/lifecycle_unittest.mojom
@@ -21,3 +21,12 @@ interface LifecycleControl {
// longer tracking this application.
CloseShellConnection();
};
+
+// Implemented by an app that connects to another app, thereby creating an
+// instance for it in the shell.
+interface Parent {
+ // Connects to another app and runs the callback when that app has acked a
+ // Ping.
+ ConnectToChild() => ();
+ Quit();
+};
« no previous file with comments | « mojo/shell/tests/lifecycle/lifecycle_unittest.cc ('k') | mojo/shell/tests/lifecycle/parent.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698