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 95b966875f4c9f16041458103756587b36faa00a..36004514c2c630b4ea75c93dee905b2fff543862 100644 |
--- a/content/common/mojo/mojo_shell_connection_impl.cc |
+++ b/content/common/mojo/mojo_shell_connection_impl.cc |
@@ -11,8 +11,8 @@ |
#include "base/stl_util.h" |
#include "base/threading/thread_local.h" |
#include "mojo/converters/network/network_type_converters.h" |
-#include "mojo/shell/public/cpp/application_delegate.h" |
#include "mojo/shell/public/cpp/application_impl.h" |
+#include "mojo/shell/public/cpp/shell_client.h" |
#include "mojo/shell/runner/child/runner_connection.h" |
namespace content { |
@@ -78,8 +78,7 @@ void MojoShellConnectionImpl::Initialize(mojo::Shell* shell, |
initialized_ = true; |
} |
-bool MojoShellConnectionImpl::AcceptConnection( |
- mojo::ApplicationConnection* connection) { |
+bool MojoShellConnectionImpl::AcceptConnection(mojo::Connection* connection) { |
bool found = false; |
for (auto listener : listeners_) |
found |= listener->AcceptConnection(connection); |