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 MEDIA_REMOTING_COURIER_RENDERER_H_ | 5 #ifndef MEDIA_REMOTING_COURIER_RENDERER_H_ |
6 #define MEDIA_REMOTING_COURIER_RENDERER_H_ | 6 #define MEDIA_REMOTING_COURIER_RENDERER_H_ |
7 | 7 |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include <memory> | 10 #include <memory> |
11 | 11 |
12 #include "base/callback.h" | 12 #include "base/callback.h" |
13 #include "base/macros.h" | 13 #include "base/macros.h" |
14 #include "base/memory/ref_counted.h" | 14 #include "base/memory/ref_counted.h" |
15 #include "base/memory/weak_ptr.h" | 15 #include "base/memory/weak_ptr.h" |
16 #include "base/optional.h" | 16 #include "base/optional.h" |
17 #include "base/synchronization/lock.h" | 17 #include "base/synchronization/lock.h" |
18 #include "base/timer/timer.h" | 18 #include "base/timer/timer.h" |
19 #include "media/base/pipeline_status.h" | 19 #include "media/base/pipeline_status.h" |
20 #include "media/base/renderer.h" | 20 #include "media/base/renderer.h" |
21 #include "media/mojo/interfaces/remoting.mojom.h" | 21 #include "media/mojo/interfaces/remoting.mojom.h" |
22 #include "media/remoting/interstitial.h" | 22 #include "media/remoting/interstitial.h" |
23 #include "media/remoting/metrics.h" | 23 #include "media/remoting/metrics.h" |
24 #include "media/remoting/rpc_broker.h" | 24 #include "media/remoting/rpc_broker.h" |
25 #include "mojo/public/cpp/system/data_pipe.h" | 25 #include "mojo/public/cpp/system/data_pipe.h" |
26 #include "third_party/skia/include/core/SkBitmap.h" | 26 #include "third_party/skia/include/core/SkBitmap.h" |
27 | 27 |
| 28 namespace base { |
| 29 class SingleThreadTaskRunner; |
| 30 } |
| 31 |
28 namespace media { | 32 namespace media { |
29 | 33 |
30 class RendererClient; | 34 class RendererClient; |
31 | 35 |
32 namespace remoting { | 36 namespace remoting { |
33 | 37 |
34 class DemuxerStreamAdapter; | 38 class DemuxerStreamAdapter; |
35 class RendererController; | 39 class RendererController; |
36 | 40 |
37 // A media::Renderer implementation that proxies all operations to a remote | 41 // A media::Renderer implementation that proxies all operations to a remote |
(...skipping 193 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
231 | 235 |
232 base::WeakPtrFactory<CourierRenderer> weak_factory_; | 236 base::WeakPtrFactory<CourierRenderer> weak_factory_; |
233 | 237 |
234 DISALLOW_COPY_AND_ASSIGN(CourierRenderer); | 238 DISALLOW_COPY_AND_ASSIGN(CourierRenderer); |
235 }; | 239 }; |
236 | 240 |
237 } // namespace remoting | 241 } // namespace remoting |
238 } // namespace media | 242 } // namespace media |
239 | 243 |
240 #endif // MEDIA_REMOTING_COURIER_RENDERER_H_ | 244 #endif // MEDIA_REMOTING_COURIER_RENDERER_H_ |
OLD | NEW |