Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(19)

Side by Side Diff: chromecast/media/service/cast_renderer.h

Issue 2545733002: chromecast: Cleanup class/struct fwd declarations (Closed)
Patch Set: Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « chromecast/media/cma/pipeline/decrypt_util.h ('k') | chromecast/net/connectivity_checker.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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_
OLDNEW
« no previous file with comments | « chromecast/media/cma/pipeline/decrypt_util.h ('k') | chromecast/net/connectivity_checker.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698