| 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_REMOTE_RENDERER_IMPL_H_ | 5 #ifndef MEDIA_REMOTING_REMOTE_RENDERER_IMPL_H_ |
| 6 #define MEDIA_REMOTING_REMOTE_RENDERER_IMPL_H_ | 6 #define MEDIA_REMOTING_REMOTE_RENDERER_IMPL_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/synchronization/lock.h" | 16 #include "base/synchronization/lock.h" |
| 17 #include "media/base/buffering_state.h" | 17 #include "media/base/buffering_state.h" |
| 18 #include "media/base/pipeline_status.h" | 18 #include "media/base/pipeline_status.h" |
| 19 #include "media/base/renderer.h" | 19 #include "media/base/renderer.h" |
| 20 #include "media/base/renderer_client.h" | 20 #include "media/base/renderer_client.h" |
| 21 #include "media/mojo/interfaces/remoting.mojom.h" | 21 #include "media/mojo/interfaces/remoting.mojom.h" |
| 22 #include "media/remoting/remoting_interstitial_ui.h" | 22 #include "media/remoting/remoting_interstitial_ui.h" |
| 23 #include "media/remoting/rpc/rpc_broker.h" | 23 #include "media/remoting/rpc/rpc_broker.h" |
| 24 #include "mojo/public/cpp/system/data_pipe.h" | 24 #include "mojo/public/cpp/system/data_pipe.h" |
| 25 | 25 |
| 26 namespace media { | 26 namespace media { |
| 27 | 27 |
| 28 class BalancedMediaTaskRunnerFactory; | |
| 29 class RemotingRendererController; | 28 class RemotingRendererController; |
| 30 class Renderer; | 29 class Renderer; |
| 31 | 30 |
| 32 namespace remoting { | 31 namespace remoting { |
| 33 class RemoteDemuxerStreamAdapter; | 32 class RemoteDemuxerStreamAdapter; |
| 34 }; | 33 }; |
| 35 | 34 |
| 36 // A media::Renderer implementation that use a media::Renderer to render | 35 // A media::Renderer implementation that use a media::Renderer to render |
| 37 // media streams. | 36 // media streams. |
| 38 class RemoteRendererImpl : public Renderer { | 37 class RemoteRendererImpl : public Renderer { |
| (...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 163 RemotingInterstitialUI interstitial_ui_; | 162 RemotingInterstitialUI interstitial_ui_; |
| 164 | 163 |
| 165 base::WeakPtrFactory<RemoteRendererImpl> weak_factory_; | 164 base::WeakPtrFactory<RemoteRendererImpl> weak_factory_; |
| 166 | 165 |
| 167 DISALLOW_COPY_AND_ASSIGN(RemoteRendererImpl); | 166 DISALLOW_COPY_AND_ASSIGN(RemoteRendererImpl); |
| 168 }; | 167 }; |
| 169 | 168 |
| 170 } // namespace media | 169 } // namespace media |
| 171 | 170 |
| 172 #endif // MEDIA_REMOTING_REMOTE_RENDERER_IMPL_H_ | 171 #endif // MEDIA_REMOTING_REMOTE_RENDERER_IMPL_H_ |
| OLD | NEW |