| Index: services/shell/tests/connect/connect_test_singleton_app.cc
|
| diff --git a/services/shell/tests/connect/connect_test_singleton_app.cc b/services/shell/tests/connect/connect_test_singleton_app.cc
|
| index 51a2a3ecd45604a9140e9a09130dc53053092a67..aef00747a7581ae64dba049c3307dc5cdc86965c 100644
|
| --- a/services/shell/tests/connect/connect_test_singleton_app.cc
|
| +++ b/services/shell/tests/connect/connect_test_singleton_app.cc
|
| @@ -5,20 +5,20 @@
|
| #include "base/macros.h"
|
| #include "mojo/public/c/system/main.h"
|
| #include "services/shell/public/cpp/application_runner.h"
|
| -#include "services/shell/public/cpp/shell_client.h"
|
| +#include "services/shell/public/cpp/service.h"
|
|
|
| namespace shell {
|
|
|
| -class ConnectTestSingletonApp : public ShellClient {
|
| +class ConnectTestSingletonApp : public Service {
|
| public:
|
| ConnectTestSingletonApp() {}
|
| ~ConnectTestSingletonApp() override {}
|
|
|
| private:
|
| - // shell::ShellClient:
|
| - void Initialize(Connector* connector, const Identity& identity,
|
| - uint32_t id) override {}
|
| - bool AcceptConnection(Connection* connection) override {
|
| + // shell::Service:
|
| + void OnStart(Connector* connector, const Identity& identity,
|
| + uint32_t id) override {}
|
| + bool OnConnect(Connection* connection) override {
|
| return true;
|
| }
|
|
|
|
|