Index: mojo/shell/shell_application_delegate.cc |
diff --git a/mojo/shell/shell_application_delegate.cc b/mojo/shell/shell_application_delegate.cc |
index e472617e6a80bd285691154399ab0c129a0f71e6..dcac9deb1abd08d48c2084a652f96e4549bbf02c 100644 |
--- a/mojo/shell/shell_application_delegate.cc |
+++ b/mojo/shell/shell_application_delegate.cc |
@@ -10,7 +10,7 @@ |
#include "base/process/process.h" |
#include "mojo/shell/application_manager.h" |
-#include "mojo/shell/public/cpp/application_connection.h" |
+#include "mojo/shell/public/cpp/connection.h" |
#include "third_party/mojo/src/mojo/edk/embedder/embedder.h" |
namespace mojo { |
@@ -23,14 +23,13 @@ ShellApplicationDelegate::~ShellApplicationDelegate() {} |
void ShellApplicationDelegate::Initialize(Shell* shell, const std::string& url, |
uint32_t id) {} |
-bool ShellApplicationDelegate::AcceptConnection( |
- ApplicationConnection* connection) { |
+bool ShellApplicationDelegate::AcceptConnection(Connection* connection) { |
connection->AddService<mojom::ApplicationManager>(this); |
return true; |
} |
void ShellApplicationDelegate::Create( |
- ApplicationConnection* connection, |
+ Connection* connection, |
InterfaceRequest<mojom::ApplicationManager> request) { |
bindings_.AddBinding(this, std::move(request)); |
} |