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

Unified Diff: content/public/common/mojo_shell_connection.h

Issue 1822213002: Changes to get mash browser_tests shutdown working correctly (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: order 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 | « content/common/mojo/mojo_shell_connection_impl.cc ('k') | content/public/test/test_launcher.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/common/mojo_shell_connection.h
diff --git a/content/public/common/mojo_shell_connection.h b/content/public/common/mojo_shell_connection.h
index 7077dcea79e27dbfc9707573e172efc4566b8e1b..6ae92bbe45fa5d600e6d2c46db608d1b0a2d588f 100644
--- a/content/public/common/mojo_shell_connection.h
+++ b/content/public/common/mojo_shell_connection.h
@@ -59,6 +59,9 @@ class CONTENT_EXPORT MojoShellConnection {
// a shell embedded in the browser process (false).
virtual bool UsingExternalShell() const = 0;
+ // Sets a closure that is called when the connection is lost.
+ virtual void SetConnectionLostClosure(const base::Closure& closure) = 0;
+
// [De]Register an impl of Listener that will be consulted when the wrapped
// ShellConnection exposes services to inbound connections.
// Registered listeners are owned by this MojoShellConnection.
« no previous file with comments | « content/common/mojo/mojo_shell_connection_impl.cc ('k') | content/public/test/test_launcher.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698