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/single_thread_task_runner.h" |
17 #include "base/synchronization/lock.h" | 18 #include "base/synchronization/lock.h" |
18 #include "base/timer/timer.h" | 19 #include "base/timer/timer.h" |
19 #include "media/base/pipeline_status.h" | 20 #include "media/base/pipeline_status.h" |
20 #include "media/base/renderer.h" | 21 #include "media/base/renderer.h" |
21 #include "media/mojo/interfaces/remoting.mojom.h" | 22 #include "media/mojo/interfaces/remoting.mojom.h" |
22 #include "media/remoting/metrics.h" | 23 #include "media/remoting/metrics.h" |
23 #include "media/remoting/rpc_broker.h" | 24 #include "media/remoting/rpc_broker.h" |
24 #include "mojo/public/cpp/system/data_pipe.h" | 25 #include "mojo/public/cpp/system/data_pipe.h" |
25 | 26 |
26 namespace media { | 27 namespace media { |
(...skipping 181 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
208 | 209 |
209 base::WeakPtrFactory<CourierRenderer> weak_factory_; | 210 base::WeakPtrFactory<CourierRenderer> weak_factory_; |
210 | 211 |
211 DISALLOW_COPY_AND_ASSIGN(CourierRenderer); | 212 DISALLOW_COPY_AND_ASSIGN(CourierRenderer); |
212 }; | 213 }; |
213 | 214 |
214 } // namespace remoting | 215 } // namespace remoting |
215 } // namespace media | 216 } // namespace media |
216 | 217 |
217 #endif // MEDIA_REMOTING_COURIER_RENDERER_H_ | 218 #endif // MEDIA_REMOTING_COURIER_RENDERER_H_ |
OLD | NEW |