Index: components/leveldb/leveldb_app.cc |
diff --git a/components/leveldb/leveldb_app.cc b/components/leveldb/leveldb_app.cc |
index 379a2e28ed440dba67909e45c5fb1bd18498775a..b6e2aba543dd678bdfc4e88244d1176bf4ccdb31 100644 |
--- a/components/leveldb/leveldb_app.cc |
+++ b/components/leveldb/leveldb_app.cc |
@@ -6,7 +6,7 @@ |
#include "base/message_loop/message_loop.h" |
#include "components/leveldb/leveldb_service_impl.h" |
-#include "services/shell/public/cpp/connection.h" |
+#include "services/shell/public/cpp/interface_registry.h" |
namespace leveldb { |
@@ -18,8 +18,9 @@ void LevelDBApp::OnStart(const shell::Identity& identity) { |
tracing_.Initialize(connector(), identity.name()); |
} |
-bool LevelDBApp::OnConnect(shell::Connection* connection) { |
- connection->AddInterface<mojom::LevelDBService>(this); |
+bool LevelDBApp::OnConnect(const shell::Identity& remote_identity, |
+ shell::InterfaceRegistry* registry) { |
+ registry->AddInterface<mojom::LevelDBService>(this); |
return true; |
} |