| Index: mash/webtest/webtest.h
|
| diff --git a/mash/webtest/webtest.h b/mash/webtest/webtest.h
|
| index 4fffc0c99cfb569221fe566efcec4722cefe8f6d..324ee41fe7543fdde3ff66665a471363df2a34d0 100644
|
| --- a/mash/webtest/webtest.h
|
| +++ b/mash/webtest/webtest.h
|
| @@ -10,7 +10,7 @@
|
| #include "base/macros.h"
|
| #include "mash/public/interfaces/launchable.mojom.h"
|
| #include "mojo/public/cpp/bindings/binding_set.h"
|
| -#include "services/shell/public/cpp/shell_client.h"
|
| +#include "services/shell/public/cpp/service.h"
|
| #include "services/tracing/public/cpp/tracing_impl.h"
|
|
|
| namespace views {
|
| @@ -23,7 +23,7 @@ namespace mash {
|
| namespace webtest {
|
|
|
| class Webtest
|
| - : public shell::ShellClient,
|
| + : public shell::Service,
|
| public mojom::Launchable,
|
| public shell::InterfaceFactory<mojom::Launchable> {
|
| public:
|
| @@ -34,11 +34,11 @@ class Webtest
|
| void RemoveWindow(views::Widget* window);
|
|
|
| private:
|
| - // shell::ShellClient:
|
| - void Initialize(shell::Connector* connector,
|
| - const shell::Identity& identity,
|
| - uint32_t id) override;
|
| - bool AcceptConnection(shell::Connection* connection) override;
|
| + // shell::Service:
|
| + void OnStart(shell::Connector* connector,
|
| + const shell::Identity& identity,
|
| + uint32_t id) override;
|
| + bool OnConnect(shell::Connection* connection) override;
|
|
|
| // mojom::Launchable:
|
| void Launch(uint32_t what, mojom::LaunchMode how) override;
|
|
|