Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(223)

Unified Diff: services/catalog/catalog.cc

Issue 2215133002: Change signature of OnConnect (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@cleanup
Patch Set: . Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « services/catalog/catalog.h ('k') | services/navigation/navigation.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
}
« no previous file with comments | « services/catalog/catalog.h ('k') | services/navigation/navigation.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698