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

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

Issue 1725353003: Eliminate mojo::Shell client lib class (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@15connector
Patch Set: . Created 4 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_apptest.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 ece326487cd26b4b0617e816c2bbe5fcf5264781..cd5f80371dadc0013bcd5bc42b16ea5dffdeb94a 100644
--- a/media/mojo/services/mojo_media_application.h
+++ b/media/mojo/services/mojo_media_application.h
@@ -8,7 +8,8 @@
#include "base/callback.h"
#include "base/memory/ref_counted.h"
#include "media/mojo/interfaces/service_factory.mojom.h"
-#include "mojo/shell/public/cpp/interface_factory_impl.h"
+#include "mojo/shell/public/cpp/interface_factory.h"
+#include "mojo/shell/public/cpp/message_loop_ref.h"
#include "mojo/shell/public/cpp/shell_client.h"
#include "url/gurl.h"
@@ -26,7 +27,7 @@ class MojoMediaApplication
private:
// mojo::ShellClient implementation.
- void Initialize(mojo::Shell* shell,
+ void Initialize(mojo::Connector* connector,
const std::string& url,
uint32_t id,
uint32_t user_id) final;
@@ -41,8 +42,9 @@ class MojoMediaApplication
// a scoped_ptr here.
scoped_ptr<MojoMediaClient> mojo_media_client_;
- mojo::Shell* shell_;
+ mojo::Connector* connector_;
scoped_refptr<MediaLog> media_log_;
+ mojo::MessageLoopRefFactory ref_factory_;
};
} // namespace media
« no previous file with comments | « media/mojo/services/media_apptest.cc ('k') | media/mojo/services/mojo_media_application.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698