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 9575e1ab688d89ed9fe158a096c4837534db2a7b..cde26bbfa6a08c5301dbf61a6a2d32c2c96146db 100644 |
--- a/services/shell/background/tests/test_service.cc |
+++ b/services/shell/background/tests/test_service.cc |
@@ -5,7 +5,7 @@ |
#include "mojo/public/cpp/bindings/binding_set.h" |
#include "services/shell/background/tests/test.mojom.h" |
#include "services/shell/public/c/main.h" |
-#include "services/shell/public/cpp/connection.h" |
+#include "services/shell/public/cpp/interface_registry.h" |
#include "services/shell/public/cpp/service.h" |
#include "services/shell/public/cpp/service_runner.h" |
@@ -20,8 +20,9 @@ class TestClient : public Service, |
private: |
// Service: |
- bool OnConnect(Connection* connection) override { |
- connection->AddInterface(this); |
+ bool OnConnect(const Identity& remote_identity, |
+ InterfaceRegistry* registry) override { |
+ registry->AddInterface(this); |
return true; |
} |
bool OnStop() override { |