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

Unified Diff: components/leveldb/leveldb_app.cc

Issue 2435153004: Change Service contract to pass ServiceInfo instead of Identity (Closed)
Patch Set: . Created 4 years, 2 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 | « components/leveldb/leveldb_app.h ('k') | content/common/service_manager/service_manager_connection_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/leveldb/leveldb_app.cc
diff --git a/components/leveldb/leveldb_app.cc b/components/leveldb/leveldb_app.cc
index d43029b98cae69469478afd163cf43d1d4eaae6e..862f0bde13f3fecccd2b285b055ea1bafff680e1 100644
--- a/components/leveldb/leveldb_app.cc
+++ b/components/leveldb/leveldb_app.cc
@@ -14,11 +14,11 @@ LevelDBApp::LevelDBApp() {}
LevelDBApp::~LevelDBApp() {}
-void LevelDBApp::OnStart(const service_manager::Identity& identity) {
- tracing_.Initialize(connector(), identity.name());
+void LevelDBApp::OnStart(const service_manager::ServiceInfo& info) {
+ tracing_.Initialize(connector(), info.identity.name());
}
-bool LevelDBApp::OnConnect(const service_manager::Identity& remote_identity,
+bool LevelDBApp::OnConnect(const service_manager::ServiceInfo& remote_info,
service_manager::InterfaceRegistry* registry) {
registry->AddInterface<mojom::LevelDBService>(this);
return true;
« no previous file with comments | « components/leveldb/leveldb_app.h ('k') | content/common/service_manager/service_manager_connection_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698