Index: mandoline/services/updater/updater_app.cc |
diff --git a/mandoline/services/updater/updater_app.cc b/mandoline/services/updater/updater_app.cc |
index e94dff4feeca6533693d0e02a749997f67496839..ffb94931c2b17652b7f7e948049ddbe08cdc6108 100644 |
--- a/mandoline/services/updater/updater_app.cc |
+++ b/mandoline/services/updater/updater_app.cc |
@@ -9,8 +9,8 @@ |
#include "base/logging.h" |
#include "mandoline/services/updater/updater_impl.h" |
#include "mojo/public/c/system/main.h" |
-#include "mojo/shell/public/cpp/application_connection.h" |
#include "mojo/shell/public/cpp/application_runner.h" |
+#include "mojo/shell/public/cpp/connection.h" |
#include "mojo/shell/public/cpp/shell.h" |
namespace updater { |
@@ -26,13 +26,12 @@ void UpdaterApp::Initialize(mojo::Shell* shell, const std::string& url, |
shell_ = shell; |
} |
-bool UpdaterApp::AcceptConnection( |
- mojo::ApplicationConnection* connection) { |
+bool UpdaterApp::AcceptConnection(mojo::Connection* connection) { |
connection->AddService<Updater>(this); |
return true; |
} |
-void UpdaterApp::Create(mojo::ApplicationConnection* connection, |
+void UpdaterApp::Create(mojo::Connection* connection, |
mojo::InterfaceRequest<Updater> request) { |
new UpdaterImpl(this, std::move(request)); |
} |