| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_MOCK_MEDIA_STREAM_VIDEO_SINK_H_ | 5 #ifndef CONTENT_RENDERER_MEDIA_MOCK_MEDIA_STREAM_VIDEO_SINK_H_ |
| 6 #define CONTENT_RENDERER_MEDIA_MOCK_MEDIA_STREAM_VIDEO_SINK_H_ | 6 #define CONTENT_RENDERER_MEDIA_MOCK_MEDIA_STREAM_VIDEO_SINK_H_ |
| 7 | 7 |
| 8 #include "content/public/renderer/media_stream_video_sink.h" | 8 #include "content/public/renderer/media_stream_video_sink.h" |
| 9 | 9 |
| 10 #include "base/memory/weak_ptr.h" | 10 #include "base/memory/weak_ptr.h" |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 47 bool enabled_; | 47 bool enabled_; |
| 48 media::VideoFrame::Format format_; | 48 media::VideoFrame::Format format_; |
| 49 blink::WebMediaStreamSource::ReadyState state_; | 49 blink::WebMediaStreamSource::ReadyState state_; |
| 50 gfx::Size frame_size_; | 50 gfx::Size frame_size_; |
| 51 scoped_refptr<media::VideoFrame> last_frame_; | 51 scoped_refptr<media::VideoFrame> last_frame_; |
| 52 base::WeakPtrFactory<MockMediaStreamVideoSink> weak_factory_; | 52 base::WeakPtrFactory<MockMediaStreamVideoSink> weak_factory_; |
| 53 }; | 53 }; |
| 54 | 54 |
| 55 } // namespace content | 55 } // namespace content |
| 56 | 56 |
| 57 #endif | 57 #endif // CONTENT_RENDERER_MEDIA_MOCK_MEDIA_STREAM_VIDEO_SINK_H_ |
| OLD | NEW |