| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 CONTENT_RENDERER_MEDIA_RTC_VIDEO_RENDERER_H_ | 5 #ifndef CONTENT_RENDERER_MEDIA_RTC_VIDEO_RENDERER_H_ |
| 6 #define CONTENT_RENDERER_MEDIA_RTC_VIDEO_RENDERER_H_ | 6 #define CONTENT_RENDERER_MEDIA_RTC_VIDEO_RENDERER_H_ |
| 7 | 7 |
| 8 #include "base/callback.h" | 8 #include "base/callback.h" |
| 9 #include "base/macros.h" |
| 9 #include "base/memory/weak_ptr.h" | 10 #include "base/memory/weak_ptr.h" |
| 10 #include "content/common/content_export.h" | 11 #include "content/common/content_export.h" |
| 11 #include "content/common/media/video_capture.h" | 12 #include "content/common/media/video_capture.h" |
| 12 #include "content/public/renderer/media_stream_video_sink.h" | 13 #include "content/public/renderer/media_stream_video_sink.h" |
| 13 #include "content/public/renderer/video_frame_provider.h" | 14 #include "content/public/renderer/video_frame_provider.h" |
| 14 #include "media/video/gpu_memory_buffer_video_frame_pool.h" | 15 #include "media/video/gpu_memory_buffer_video_frame_pool.h" |
| 15 #include "third_party/WebKit/public/platform/WebMediaStreamTrack.h" | 16 #include "third_party/WebKit/public/platform/WebMediaStreamTrack.h" |
| 16 #include "ui/gfx/geometry/size.h" | 17 #include "ui/gfx/geometry/size.h" |
| 17 | 18 |
| 18 namespace base { | 19 namespace base { |
| (...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 92 const scoped_refptr<base::SingleThreadTaskRunner> media_task_runner_; | 93 const scoped_refptr<base::SingleThreadTaskRunner> media_task_runner_; |
| 93 | 94 |
| 94 base::WeakPtrFactory<MediaStreamVideoRendererSink> weak_factory_; | 95 base::WeakPtrFactory<MediaStreamVideoRendererSink> weak_factory_; |
| 95 | 96 |
| 96 DISALLOW_COPY_AND_ASSIGN(MediaStreamVideoRendererSink); | 97 DISALLOW_COPY_AND_ASSIGN(MediaStreamVideoRendererSink); |
| 97 }; | 98 }; |
| 98 | 99 |
| 99 } // namespace content | 100 } // namespace content |
| 100 | 101 |
| 101 #endif // CONTENT_RENDERER_MEDIA_RTC_VIDEO_RENDERER_H_ | 102 #endif // CONTENT_RENDERER_MEDIA_RTC_VIDEO_RENDERER_H_ |
| OLD | NEW |