OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CHROMECAST_BROWSER_MEDIA_CAST_MOJO_MEDIA_APPLICATION_H_ | 5 #ifndef CHROMECAST_BROWSER_MEDIA_CAST_MOJO_MEDIA_APPLICATION_H_ |
6 #define CHROMECAST_BROWSER_MEDIA_CAST_MOJO_MEDIA_APPLICATION_H_ | 6 #define CHROMECAST_BROWSER_MEDIA_CAST_MOJO_MEDIA_APPLICATION_H_ |
7 | 7 |
8 #include <memory> | 8 #include <memory> |
9 | 9 |
10 #include "base/memory/ref_counted.h" | 10 #include "base/memory/ref_counted.h" |
11 #include "media/mojo/interfaces/service_factory.mojom.h" | 11 #include "media/mojo/interfaces/service_factory.mojom.h" |
12 #include "mojo/shell/public/cpp/interface_factory.h" | 12 #include "services/shell/public/cpp/interface_factory.h" |
13 #include "mojo/shell/public/cpp/message_loop_ref.h" | 13 #include "services/shell/public/cpp/message_loop_ref.h" |
14 #include "mojo/shell/public/cpp/shell_client.h" | 14 #include "services/shell/public/cpp/shell_client.h" |
15 | 15 |
16 namespace base { | 16 namespace base { |
17 class SingleThreadTaskRunner; | 17 class SingleThreadTaskRunner; |
18 } // namespace base | 18 } // namespace base |
19 | 19 |
20 namespace media { | 20 namespace media { |
21 class MediaLog; | 21 class MediaLog; |
22 } // namespace media | 22 } // namespace media |
23 | 23 |
24 namespace chromecast { | 24 namespace chromecast { |
(...skipping 25 matching lines...) Expand all Loading... |
50 std::unique_ptr<CastMojoMediaClient> mojo_media_client_; | 50 std::unique_ptr<CastMojoMediaClient> mojo_media_client_; |
51 scoped_refptr<base::SingleThreadTaskRunner> media_task_runner_; | 51 scoped_refptr<base::SingleThreadTaskRunner> media_task_runner_; |
52 scoped_refptr<::media::MediaLog> media_log_; | 52 scoped_refptr<::media::MediaLog> media_log_; |
53 mojo::MessageLoopRefFactory ref_factory_; | 53 mojo::MessageLoopRefFactory ref_factory_; |
54 }; | 54 }; |
55 | 55 |
56 } // namespace media | 56 } // namespace media |
57 } // namespace chromecast | 57 } // namespace chromecast |
58 | 58 |
59 #endif // CHROMECAST_BROWSER_MEDIA_CAST_MOJO_MEDIA_APPLICATION_H_ | 59 #endif // CHROMECAST_BROWSER_MEDIA_CAST_MOJO_MEDIA_APPLICATION_H_ |
OLD | NEW |