| OLD | NEW |
| 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 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_WEBRTC_VIDEO_DESTINATION_HANDLER_H_ | 5 #ifndef CONTENT_RENDERER_MEDIA_WEBRTC_VIDEO_DESTINATION_HANDLER_H_ |
| 6 #define CONTENT_RENDERER_MEDIA_WEBRTC_VIDEO_DESTINATION_HANDLER_H_ | 6 #define CONTENT_RENDERER_MEDIA_WEBRTC_VIDEO_DESTINATION_HANDLER_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| 11 #include "base/compiler_specific.h" | 11 #include "base/compiler_specific.h" |
| 12 #include "base/memory/weak_ptr.h" | 12 #include "base/memory/weak_ptr.h" |
| 13 #include "content/common/content_export.h" | 13 #include "content/common/content_export.h" |
| 14 #include "content/renderer/media/media_stream_video_source.h" | 14 #include "content/renderer/media/media_stream_video_source.h" |
| 15 #include "media/base/video_frame_pool.h" | 15 #include "media/base/video_frame_pool.h" |
| 16 | 16 |
| 17 namespace content { | 17 namespace content { |
| 18 | 18 |
| 19 class MediaStreamDependencyFactory; | 19 class PeerConnectionDependencyFactory; |
| 20 class MediaStreamRegistryInterface; | 20 class MediaStreamRegistryInterface; |
| 21 class PPB_ImageData_Impl; | 21 class PPB_ImageData_Impl; |
| 22 | 22 |
| 23 // Interface used by the effects pepper plugin to output the processed frame | 23 // Interface used by the effects pepper plugin to output the processed frame |
| 24 // to the video track. | 24 // to the video track. |
| 25 class CONTENT_EXPORT FrameWriterInterface { | 25 class CONTENT_EXPORT FrameWriterInterface { |
| 26 public: | 26 public: |
| 27 // The ownership of the |image_data| deosn't transfer. So the implementation | 27 // The ownership of the |image_data| deosn't transfer. So the implementation |
| 28 // of this interface should make a copy of the |image_data| before return. | 28 // of this interface should make a copy of the |image_data| before return. |
| 29 virtual void PutFrame(PPB_ImageData_Impl* image_data, | 29 virtual void PutFrame(PPB_ImageData_Impl* image_data, |
| (...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 83 FrameWriterInterface** frame_writer); | 83 FrameWriterInterface** frame_writer); |
| 84 | 84 |
| 85 private: | 85 private: |
| 86 DISALLOW_COPY_AND_ASSIGN(VideoDestinationHandler); | 86 DISALLOW_COPY_AND_ASSIGN(VideoDestinationHandler); |
| 87 }; | 87 }; |
| 88 | 88 |
| 89 } // namespace content | 89 } // namespace content |
| 90 | 90 |
| 91 #endif // CONTENT_RENDERER_MEDIA_VIDEO_DESTINATION_HANDLER_H_ | 91 #endif // CONTENT_RENDERER_MEDIA_VIDEO_DESTINATION_HANDLER_H_ |
| 92 | 92 |
| OLD | NEW |