Index: services/catalog/catalog.cc |
diff --git a/services/catalog/catalog.cc b/services/catalog/catalog.cc |
index 53efd082b01008aa933ead0428d6cc4740485692..bcd03c5e92bfe5b103209b1805a405713eaa0120 100644 |
--- a/services/catalog/catalog.cc |
+++ b/services/catalog/catalog.cc |
@@ -104,10 +104,11 @@ void Catalog::ScanSystemPackageDir() { |
weak_factory_.GetWeakPtr())); |
} |
-bool Catalog::OnConnect(shell::Connection* connection) { |
- connection->AddInterface<mojom::Catalog>(this); |
- connection->AddInterface<filesystem::mojom::Directory>(this); |
- connection->AddInterface<shell::mojom::Resolver>(this); |
+bool Catalog::OnConnect(const shell::Identity& remote_identity, |
+ shell::InterfaceRegistry* registry) { |
+ registry->AddInterface<mojom::Catalog>(this); |
+ registry->AddInterface<filesystem::mojom::Directory>(this); |
+ registry->AddInterface<shell::mojom::Resolver>(this); |
return true; |
} |