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

Unified Diff: media/mojo/services/media_service.cc

Issue 2701883002: service_manager: More consistent Service lifecycle API (Closed)
Patch Set: . Created 3 years, 10 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/image_decoder/image_decoder_service.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 72df120dd3d2eb87ca328fd0f46f82a2b5a31bb5..43eace82e7c49002aa41e42222dfa81587edd73a 100644
--- a/media/mojo/services/media_service.cc
+++ b/media/mojo/services/media_service.cc
@@ -39,7 +39,7 @@ bool MediaService::OnConnect(const service_manager::ServiceInfo& remote_info,
return true;
}
-bool MediaService::OnStop() {
+bool MediaService::OnServiceManagerConnectionLost() {
mojo_media_client_.reset();
return true;
}
« no previous file with comments | « media/mojo/services/media_service.h ('k') | services/image_decoder/image_decoder_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698