| Index: services/shell/background/tests/test_service.cc
|
| diff --git a/services/shell/background/tests/test_service.cc b/services/shell/background/tests/test_service.cc
|
| index 97499339d2a046593c11d9e73687ab18ed38599e..16aa42d5ff1f66fad8870173813e566da00438a6 100644
|
| --- a/services/shell/background/tests/test_service.cc
|
| +++ b/services/shell/background/tests/test_service.cc
|
| @@ -7,11 +7,11 @@
|
| #include "services/shell/background/tests/test.mojom.h"
|
| #include "services/shell/public/cpp/application_runner.h"
|
| #include "services/shell/public/cpp/connection.h"
|
| -#include "services/shell/public/cpp/shell_client.h"
|
| +#include "services/shell/public/cpp/service.h"
|
|
|
| namespace shell {
|
|
|
| -class TestClient : public ShellClient,
|
| +class TestClient : public Service,
|
| public InterfaceFactory<mojom::TestService>,
|
| public mojom::TestService {
|
| public:
|
| @@ -19,12 +19,12 @@ class TestClient : public ShellClient,
|
| ~TestClient() override {}
|
|
|
| private:
|
| - // ShellClient:
|
| - bool AcceptConnection(Connection* connection) override {
|
| + // Service:
|
| + bool OnConnect(Connection* connection) override {
|
| connection->AddInterface(this);
|
| return true;
|
| }
|
| - bool ShellConnectionLost() override {
|
| + bool OnStop() override {
|
| return true;
|
| }
|
|
|
|
|