| Index: mash/webtest/webtest.cc
|
| diff --git a/mash/webtest/webtest.cc b/mash/webtest/webtest.cc
|
| index b55f3a0a5a4c50688ea02e86bc1e996503eb90cd..256c1364557db66dfa2371d467a7f94b8c8a9251 100644
|
| --- a/mash/webtest/webtest.cc
|
| +++ b/mash/webtest/webtest.cc
|
| @@ -16,7 +16,7 @@
|
| #include "services/navigation/public/interfaces/view.mojom.h"
|
| #include "services/shell/public/cpp/application_runner.h"
|
| #include "services/shell/public/cpp/connector.h"
|
| -#include "services/shell/public/cpp/shell_client.h"
|
| +#include "services/shell/public/cpp/service.h"
|
| #include "services/tracing/public/cpp/tracing_impl.h"
|
| #include "services/ui/public/cpp/window.h"
|
| #include "services/ui/public/cpp/window_tree_client.h"
|
| @@ -157,9 +157,9 @@ void Webtest::RemoveWindow(views::Widget* window) {
|
| base::MessageLoop::current()->QuitWhenIdle();
|
| }
|
|
|
| -void Webtest::Initialize(shell::Connector* connector,
|
| - const shell::Identity& identity,
|
| - uint32_t id) {
|
| +void Webtest::OnStart(shell::Connector* connector,
|
| + const shell::Identity& identity,
|
| + uint32_t id) {
|
| connector_ = connector;
|
| tracing_.Initialize(connector, identity.name());
|
|
|
| @@ -168,7 +168,7 @@ void Webtest::Initialize(shell::Connector* connector,
|
| views::WindowManagerConnection::Create(connector, identity);
|
| }
|
|
|
| -bool Webtest::AcceptConnection(shell::Connection* connection) {
|
| +bool Webtest::OnConnect(shell::Connection* connection) {
|
| connection->AddInterface<mojom::Launchable>(this);
|
| return true;
|
| }
|
|
|