| Index: examples/media_test/media_test.h
|
| diff --git a/examples/media_test/media_test.h b/examples/media_test/media_test.h
|
| index fc171614c8a32a33f6139e7d751e5a90fdc8c1a6..81b2c3e2558c4cbb9c479a45df640bbc42c44b4b 100644
|
| --- a/examples/media_test/media_test.h
|
| +++ b/examples/media_test/media_test.h
|
| @@ -6,13 +6,15 @@
|
| #define EXAMPLES_MEDIA_TEST_MEDIA_TEST_H_
|
|
|
| #include "base/macros.h"
|
| -#include "mojo/public/cpp/application/application_impl.h"
|
| #include "mojo/services/media/common/cpp/timeline_function.h"
|
| #include "mojo/services/media/common/interfaces/rate_control.mojom.h"
|
| #include "mojo/services/media/control/interfaces/media_factory.mojom.h"
|
| #include "mojo/services/media/control/interfaces/media_player.mojom.h"
|
|
|
| namespace mojo {
|
| +
|
| +class Shell;
|
| +
|
| namespace media {
|
| namespace examples {
|
|
|
| @@ -23,7 +25,7 @@ class MediaTest {
|
|
|
| using UpdateCallback = std::function<void()>;
|
|
|
| - static std::unique_ptr<MediaTest> Create(mojo::ApplicationImpl* app,
|
| + static std::unique_ptr<MediaTest> Create(mojo::Shell* shell,
|
| const std::string& input_file_name);
|
|
|
| ~MediaTest();
|
| @@ -55,7 +57,7 @@ class MediaTest {
|
| const MediaMetadataPtr& metadata() const;
|
|
|
| private:
|
| - MediaTest(mojo::ApplicationImpl* app, const std::string& input_file_name);
|
| + MediaTest(mojo::Shell* shell, const std::string& input_file_name);
|
|
|
| // Handles a status update from the player. When called with the default
|
| // argument values, initiates status updates.
|
|
|