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

Unified Diff: content/common/mojo/mojo_shell_connection_impl.cc

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.h ('k') | content/public/common/mojo_shell_connection.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/mojo/mojo_shell_connection_impl.cc
diff --git a/content/common/mojo/mojo_shell_connection_impl.cc b/content/common/mojo/mojo_shell_connection_impl.cc
index 42cfada675d59ca0f06dc9369c907b23e6bba5f6..3f3a6935fb680220ef418081fda2e636cd84bef9 100644
--- a/content/common/mojo/mojo_shell_connection_impl.cc
+++ b/content/common/mojo/mojo_shell_connection_impl.cc
@@ -135,6 +135,11 @@ bool MojoShellConnectionImpl::UsingExternalShell() const {
return external_;
}
+void MojoShellConnectionImpl::SetConnectionLostClosure(
+ const base::Closure& closure) {
+ shell_connection_->set_connection_lost_closure(closure);
+}
+
void MojoShellConnectionImpl::AddListener(Listener* listener) {
DCHECK(std::find(listeners_.begin(), listeners_.end(), listener) ==
listeners_.end());
« no previous file with comments | « content/common/mojo/mojo_shell_connection_impl.h ('k') | content/public/common/mojo_shell_connection.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698