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

Unified Diff: media/mojo/services/media_service.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 | « media/mojo/services/media_service.h ('k') | services/catalog/catalog.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/mojo/services/media_service.cc
diff --git a/media/mojo/services/media_service.cc b/media/mojo/services/media_service.cc
index 27007a56138d456a6a3108aa15a0d3749296f5a8..f18f4ce635f8d79e94c8977fb8fb4873d702318d 100644
--- a/media/mojo/services/media_service.cc
+++ b/media/mojo/services/media_service.cc
@@ -26,11 +26,11 @@ MediaService::MediaService(std::unique_ptr<MojoMediaClient> mojo_media_client,
MediaService::~MediaService() {}
-void MediaService::OnStart(const service_manager::Identity& identity) {
+void MediaService::OnStart(const service_manager::ServiceInfo& info) {
mojo_media_client_->Initialize();
}
-bool MediaService::OnConnect(const service_manager::Identity& remote_identity,
+bool MediaService::OnConnect(const service_manager::ServiceInfo& remote_info,
service_manager::InterfaceRegistry* registry) {
registry->AddInterface<mojom::MediaService>(this);
return true;
« no previous file with comments | « media/mojo/services/media_service.h ('k') | services/catalog/catalog.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698