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

Unified Diff: media/mojo/services/mojo_media_application.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 | « media/mojo/services/mojo_media_application.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/mojo_media_application.cc
diff --git a/media/mojo/services/mojo_media_application.cc b/media/mojo/services/mojo_media_application.cc
index 0fc1825aa29340fdc601a2f1db7c8edf8f86c2c1..3e49190e1169ee3bd6b104a1403517a994e9c76d 100644
--- a/media/mojo/services/mojo_media_application.cc
+++ b/media/mojo/services/mojo_media_application.cc
@@ -30,8 +30,9 @@ void MojoMediaApplication::OnStart(const shell::Identity& identity) {
mojo_media_client_->Initialize();
}
-bool MojoMediaApplication::OnConnect(shell::Connection* connection) {
- connection->AddInterface<mojom::MediaService>(this);
+bool MojoMediaApplication::OnConnect(const shell::Identity& remote_identity,
+ shell::InterfaceRegistry* registry) {
+ registry->AddInterface<mojom::MediaService>(this);
return true;
}
« no previous file with comments | « media/mojo/services/mojo_media_application.h ('k') | services/catalog/catalog.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698