OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 MEDIA_MOJO_SERVICES_MOJO_RENDERER_IMPL_H_ | 5 #ifndef MEDIA_MOJO_SERVICES_MOJO_RENDERER_IMPL_H_ |
6 #define MEDIA_MOJO_SERVICES_MOJO_RENDERER_IMPL_H_ | 6 #define MEDIA_MOJO_SERVICES_MOJO_RENDERER_IMPL_H_ |
7 | 7 |
8 #include "base/macros.h" | 8 #include "base/macros.h" |
9 #include "base/memory/weak_ptr.h" | 9 #include "base/memory/weak_ptr.h" |
10 #include "media/base/renderer.h" | 10 #include "media/base/renderer.h" |
11 #include "media/mojo/interfaces/renderer.mojom.h" | 11 #include "media/mojo/interfaces/renderer.mojom.h" |
| 12 #include "third_party/mojo/src/mojo/public/cpp/bindings/binding.h" |
12 | 13 |
13 namespace base { | 14 namespace base { |
14 class SingleThreadTaskRunner; | 15 class SingleThreadTaskRunner; |
15 } | 16 } |
16 | 17 |
17 namespace media { | 18 namespace media { |
18 | 19 |
19 class DemuxerStreamProvider; | 20 class DemuxerStreamProvider; |
20 | 21 |
21 // A media::Renderer that proxies to a interfaces::Renderer. That | 22 // A media::Renderer that proxies to a interfaces::Renderer. That |
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
82 base::TimeDelta max_time_; | 83 base::TimeDelta max_time_; |
83 | 84 |
84 base::WeakPtrFactory<MojoRendererImpl> weak_factory_; | 85 base::WeakPtrFactory<MojoRendererImpl> weak_factory_; |
85 | 86 |
86 DISALLOW_COPY_AND_ASSIGN(MojoRendererImpl); | 87 DISALLOW_COPY_AND_ASSIGN(MojoRendererImpl); |
87 }; | 88 }; |
88 | 89 |
89 } // namespace media | 90 } // namespace media |
90 | 91 |
91 #endif // MEDIA_MOJO_SERVICES_MOJO_RENDERER_IMPL_H_ | 92 #endif // MEDIA_MOJO_SERVICES_MOJO_RENDERER_IMPL_H_ |
OLD | NEW |