| 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_MEDIA_SERVICE_CAST_RENDERER_H_ | 5 #ifndef CHROMECAST_MEDIA_SERVICE_CAST_RENDERER_H_ |
| 6 #define CHROMECAST_MEDIA_SERVICE_CAST_RENDERER_H_ | 6 #define CHROMECAST_MEDIA_SERVICE_CAST_RENDERER_H_ |
| 7 | 7 |
| 8 #include "base/memory/weak_ptr.h" | 8 #include "base/memory/weak_ptr.h" |
| 9 #include "chromecast/media/base/media_resource_tracker.h" | 9 #include "chromecast/media/base/media_resource_tracker.h" |
| 10 #include "chromecast/media/base/video_resolution_policy.h" | 10 #include "chromecast/media/base/video_resolution_policy.h" |
| 11 #include "chromecast/media/service/media_pipeline_backend_factory.h" | 11 #include "chromecast/media/service/media_pipeline_backend_factory.h" |
| 12 #include "media/base/renderer.h" | 12 #include "media/base/renderer.h" |
| 13 #include "ui/gfx/geometry/size.h" | 13 #include "ui/gfx/geometry/size.h" |
| 14 | 14 |
| 15 namespace base { | 15 namespace base { |
| 16 class SingleThreadTaskRunner; | 16 class SingleThreadTaskRunner; |
| 17 } // namespace base | 17 } // namespace base |
| 18 | 18 |
| 19 namespace media { | |
| 20 class MediaLog; | |
| 21 } // namespace media | |
| 22 | |
| 23 namespace chromecast { | 19 namespace chromecast { |
| 24 class TaskRunnerImpl; | 20 class TaskRunnerImpl; |
| 25 | 21 |
| 26 namespace media { | 22 namespace media { |
| 27 class BalancedMediaTaskRunnerFactory; | 23 class BalancedMediaTaskRunnerFactory; |
| 28 class CastCdmContext; | 24 class CastCdmContext; |
| 29 class MediaPipelineImpl; | 25 class MediaPipelineImpl; |
| 30 | 26 |
| 31 class CastRenderer : public ::media::Renderer, | 27 class CastRenderer : public ::media::Renderer, |
| 32 public VideoResolutionPolicy::Observer { | 28 public VideoResolutionPolicy::Observer { |
| (...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 83 gfx::Size video_res_; | 79 gfx::Size video_res_; |
| 84 | 80 |
| 85 base::WeakPtrFactory<CastRenderer> weak_factory_; | 81 base::WeakPtrFactory<CastRenderer> weak_factory_; |
| 86 DISALLOW_COPY_AND_ASSIGN(CastRenderer); | 82 DISALLOW_COPY_AND_ASSIGN(CastRenderer); |
| 87 }; | 83 }; |
| 88 | 84 |
| 89 } // namespace media | 85 } // namespace media |
| 90 } // namespace chromecast | 86 } // namespace chromecast |
| 91 | 87 |
| 92 #endif // CHROMECAST_MEDIA_SERVICE_CAST_RENDERER_H_ | 88 #endif // CHROMECAST_MEDIA_SERVICE_CAST_RENDERER_H_ |
| OLD | NEW |