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

Unified Diff: media/mojo/services/mojo_media_application.h

Issue 2182643003: Remove shell::Connection* parameter to InterfaceFactory<T>::Create() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 years, 5 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 | « mash/webtest/webtest.cc ('k') | media/mojo/services/mojo_media_application.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/mojo/services/mojo_media_application.h
diff --git a/media/mojo/services/mojo_media_application.h b/media/mojo/services/mojo_media_application.h
index 1c093a360f0ba953462782836ade4ff1a350f278..c28a46fea89ec6c13b7d1be18bfcafd6a814ea20 100644
--- a/media/mojo/services/mojo_media_application.h
+++ b/media/mojo/services/mojo_media_application.h
@@ -41,7 +41,7 @@ class MEDIA_MOJO_EXPORT MojoMediaApplication
bool OnStop() final;
// shell::InterfaceFactory<mojom::ServiceFactory> implementation.
- void Create(shell::Connection* connection,
+ void Create(const shell::Identity& remote_identity,
mojo::InterfaceRequest<mojom::ServiceFactory> request) final;
// Note: Since each instance runs on a different thread, do not share a common
@@ -50,6 +50,7 @@ class MEDIA_MOJO_EXPORT MojoMediaApplication
std::unique_ptr<MojoMediaClient> mojo_media_client_;
shell::Connector* connector_;
+ shell::mojom::InterfaceProvider* remote_interface_provider_ = nullptr;
scoped_refptr<MediaLog> media_log_;
shell::ServiceContextRefFactory ref_factory_;
};
« no previous file with comments | « mash/webtest/webtest.cc ('k') | media/mojo/services/mojo_media_application.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698