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

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

Issue 2179023004: Make Service own ServiceContext. (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 c28a46fea89ec6c13b7d1be18bfcafd6a814ea20..ed11d01e985f952c9893c8ca1f6f950d3694faac 100644
--- a/media/mojo/services/mojo_media_application.h
+++ b/media/mojo/services/mojo_media_application.h
@@ -34,9 +34,7 @@ class MEDIA_MOJO_EXPORT MojoMediaApplication
private:
// shell::Service implementation.
- void OnStart(shell::Connector* connector,
- const shell::Identity& identity,
- uint32_t id) final;
+ void OnStart(const shell::Identity& identity) final;
bool OnConnect(shell::Connection* connection) final;
bool OnStop() final;
@@ -49,7 +47,6 @@ class MEDIA_MOJO_EXPORT MojoMediaApplication
// a unique_ptr here.
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