Index: mandoline/ui/phone_ui/phone_browser_application_delegate.cc |
diff --git a/mandoline/ui/phone_ui/phone_browser_application_delegate.cc b/mandoline/ui/phone_ui/phone_browser_application_delegate.cc |
index 666cafbf13e8b6898b0b7b315955b82ba61374ad..4cafb3c2fcbae9ba76a78d1432b8582918bd53ab 100644 |
--- a/mandoline/ui/phone_ui/phone_browser_application_delegate.cc |
+++ b/mandoline/ui/phone_ui/phone_browser_application_delegate.cc |
@@ -10,7 +10,7 @@ |
#include "components/mus/public/cpp/window_tree_host_factory.h" |
#include "mojo/converters/geometry/geometry_type_converters.h" |
#include "mojo/services/network/public/interfaces/url_loader.mojom.h" |
-#include "mojo/shell/public/cpp/application_connection.h" |
+#include "mojo/shell/public/cpp/connection.h" |
#include "mojo/shell/public/cpp/shell.h" |
#include "ui/gfx/geometry/size.h" |
#include "url/gurl.h" |
@@ -34,7 +34,7 @@ PhoneBrowserApplicationDelegate::~PhoneBrowserApplicationDelegate() { |
} |
//////////////////////////////////////////////////////////////////////////////// |
-// PhoneBrowserApplicationDelegate, mojo::ApplicationDelegate implementation: |
+// PhoneBrowserApplicationDelegate, mojo::ShellClient implementation: |
void PhoneBrowserApplicationDelegate::Initialize(mojo::Shell* shell, |
const std::string& url, |
@@ -53,7 +53,7 @@ void PhoneBrowserApplicationDelegate::Initialize(mojo::Shell* shell, |
} |
bool PhoneBrowserApplicationDelegate::AcceptConnection( |
- mojo::ApplicationConnection* connection) { |
+ mojo::Connection* connection) { |
connection->AddService<LaunchHandler>(this); |
return true; |
} |
@@ -127,7 +127,7 @@ void PhoneBrowserApplicationDelegate::TitleChanged(const mojo::String& title) { |
// mojo::InterfaceFactory<LaunchHandler> implementation: |
void PhoneBrowserApplicationDelegate::Create( |
- mojo::ApplicationConnection* connection, |
+ mojo::Connection* connection, |
mojo::InterfaceRequest<LaunchHandler> request) { |
launch_handler_bindings_.AddBinding(this, request.Pass()); |
} |