Commit f3a33367 authored by Antonio Gomes's avatar Antonio Gomes Committed by Commit Bot

Move media_stream_remote_video_source.h out of the Blink API

BUG=787254, 919392
R=guidou@chromium.org, haraken@chromium.org

Change-Id: I9ec5df81e870536e4b9a97d9e4f21678c14da57b
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1867151Reviewed-by: default avatarKentaro Hara <haraken@chromium.org>
Reviewed-by: default avatarGuido Urdaneta <guidou@chromium.org>
Commit-Queue: Antonio Gomes <tonikitoo@igalia.com>
Cr-Commit-Position: refs/heads/master@{#707320}
parent b5498d4a
...@@ -381,7 +381,6 @@ source_set("blink_headers") { ...@@ -381,7 +381,6 @@ source_set("blink_headers") {
"web/modules/mediastream/web_media_stream_renderer_factory.h", "web/modules/mediastream/web_media_stream_renderer_factory.h",
"web/modules/mediastream/web_media_stream_utils.h", "web/modules/mediastream/web_media_stream_utils.h",
"web/modules/mediastream/webmediaplayer_ms.h", "web/modules/mediastream/webmediaplayer_ms.h",
"web/modules/peerconnection/media_stream_remote_video_source.h",
"web/modules/peerconnection/media_stream_video_webrtc_sink.h", "web/modules/peerconnection/media_stream_video_webrtc_sink.h",
"web/modules/peerconnection/peer_connection_dependency_factory.h", "web/modules/peerconnection/peer_connection_dependency_factory.h",
"web/modules/peerconnection/rtc_rtp_receiver_impl.h", "web/modules/peerconnection/rtc_rtp_receiver_impl.h",
......
...@@ -45,6 +45,7 @@ include_rules = [ ...@@ -45,6 +45,7 @@ include_rules = [
"+third_party/blink/renderer/modules/imagecapture", "+third_party/blink/renderer/modules/imagecapture",
"+third_party/blink/renderer/modules/mediastream", "+third_party/blink/renderer/modules/mediastream",
"+third_party/blink/renderer/modules/modules_export.h", "+third_party/blink/renderer/modules/modules_export.h",
"+third_party/blink/renderer/modules/peerconnection",
"+ui/gfx/geometry/size.h", "+ui/gfx/geometry/size.h",
] ]
......
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
#include "third_party/blink/public/platform/modules/mediastream/media_stream_audio_source.h" #include "third_party/blink/public/platform/modules/mediastream/media_stream_audio_source.h"
#include "third_party/blink/public/platform/modules/webrtc/track_observer.h" #include "third_party/blink/public/platform/modules/webrtc/track_observer.h"
#include "third_party/blink/public/web/modules/mediastream/media_stream_video_track.h" #include "third_party/blink/public/web/modules/mediastream/media_stream_video_track.h"
#include "third_party/blink/public/web/modules/peerconnection/media_stream_remote_video_source.h" #include "third_party/blink/renderer/modules/peerconnection/media_stream_remote_video_source.h"
#include "third_party/blink/renderer/platform/scheduler/public/post_cross_thread_task.h" #include "third_party/blink/renderer/platform/scheduler/public/post_cross_thread_task.h"
#include "third_party/blink/renderer/platform/webrtc/peer_connection_remote_audio_source.h" #include "third_party/blink/renderer/platform/webrtc/peer_connection_remote_audio_source.h"
#include "third_party/blink/renderer/platform/wtf/cross_thread_functional.h" #include "third_party/blink/renderer/platform/wtf/cross_thread_functional.h"
......
...@@ -53,6 +53,7 @@ blink_modules_sources("peerconnection") { ...@@ -53,6 +53,7 @@ blink_modules_sources("peerconnection") {
"call_setup_state_tracker.cc", "call_setup_state_tracker.cc",
"call_setup_state_tracker.h", "call_setup_state_tracker.h",
"media_stream_remote_video_source.cc", "media_stream_remote_video_source.cc",
"media_stream_remote_video_source.h",
"media_stream_video_webrtc_sink.cc", "media_stream_video_webrtc_sink.cc",
"peer_connection_dependency_factory.cc", "peer_connection_dependency_factory.cc",
"rtc_certificate.cc", "rtc_certificate.cc",
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be // Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file. // found in the LICENSE file.
#include "third_party/blink/public/web/modules/peerconnection/media_stream_remote_video_source.h" #include "third_party/blink/renderer/modules/peerconnection/media_stream_remote_video_source.h"
#include <stdint.h> #include <stdint.h>
#include <utility> #include <utility>
......
...@@ -2,15 +2,15 @@ ...@@ -2,15 +2,15 @@
// Use of this source code is governed by a BSD-style license that can be // Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file. // found in the LICENSE file.
#ifndef THIRD_PARTY_BLINK_PUBLIC_WEB_MODULES_PEERCONNECTION_MEDIA_STREAM_REMOTE_VIDEO_SOURCE_H_ #ifndef THIRD_PARTY_BLINK_RENDERER_MODULES_PEERCONNECTION_MEDIA_STREAM_REMOTE_VIDEO_SOURCE_H_
#define THIRD_PARTY_BLINK_PUBLIC_WEB_MODULES_PEERCONNECTION_MEDIA_STREAM_REMOTE_VIDEO_SOURCE_H_ #define THIRD_PARTY_BLINK_RENDERER_MODULES_PEERCONNECTION_MEDIA_STREAM_REMOTE_VIDEO_SOURCE_H_
#include <memory> #include <memory>
#include "base/macros.h" #include "base/macros.h"
#include "third_party/blink/public/platform/web_common.h"
#include "third_party/blink/public/platform/web_media_stream_source.h" #include "third_party/blink/public/platform/web_media_stream_source.h"
#include "third_party/blink/public/web/modules/mediastream/media_stream_video_source.h" #include "third_party/blink/public/web/modules/mediastream/media_stream_video_source.h"
#include "third_party/blink/renderer/modules/modules_export.h"
#include "third_party/webrtc/api/media_stream_interface.h" #include "third_party/webrtc/api/media_stream_interface.h"
namespace blink { namespace blink {
...@@ -22,10 +22,7 @@ class TrackObserver; ...@@ -22,10 +22,7 @@ class TrackObserver;
// class is to make sure there is no difference between a video track where the // class is to make sure there is no difference between a video track where the
// source is a local source and a video track where the source is a remote video // source is a local source and a video track where the source is a remote video
// track. // track.
// class MODULES_EXPORT MediaStreamRemoteVideoSource
// TODO(crbug.com/787254): Move the classes below out of the Blink exposed
// API when all users of it have been Onion souped.
class BLINK_MODULES_EXPORT MediaStreamRemoteVideoSource
: public MediaStreamVideoSource { : public MediaStreamVideoSource {
public: public:
explicit MediaStreamRemoteVideoSource( explicit MediaStreamRemoteVideoSource(
...@@ -62,4 +59,4 @@ class BLINK_MODULES_EXPORT MediaStreamRemoteVideoSource ...@@ -62,4 +59,4 @@ class BLINK_MODULES_EXPORT MediaStreamRemoteVideoSource
} // namespace blink } // namespace blink
#endif // THIRD_PARTY_BLINK_PUBLIC_WEB_MODULES_PEERCONNECTION_MEDIA_STREAM_REMOTE_VIDEO_SOURCE_H_ #endif // THIRD_PARTY_BLINK_RENDERER_MODULES_PEERCONNECTION_MEDIA_STREAM_REMOTE_VIDEO_SOURCE_H_
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be // Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file. // found in the LICENSE file.
#include "third_party/blink/public/web/modules/peerconnection/media_stream_remote_video_source.h" #include "third_party/blink/renderer/modules/peerconnection/media_stream_remote_video_source.h"
#include <memory> #include <memory>
#include <utility> #include <utility>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment