From 02b1321b4792af0048f2f39619e95cdbfbe2393c Mon Sep 17 00:00:00 2001 From: philipel Date: Thu, 25 Mar 2021 09:59:20 +0100 Subject: [PATCH] Clean up video_coding namespace snipets. Bug: webrtc:12579 Change-Id: I487fe017f30746e2fe83a122123b236295d96d28 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/212962 Reviewed-by: Danil Chapovalov Reviewed-by: Rasmus Brandt Commit-Queue: Philip Eliasson Cr-Commit-Position: refs/heads/master@{#33558} --- api/video/encoded_frame.h | 5 ----- modules/video_coding/frame_object.h | 5 ----- modules/video_coding/rtp_frame_reference_finder.h | 5 ----- 3 files changed, 15 deletions(-) diff --git a/api/video/encoded_frame.h b/api/video/encoded_frame.h index d88d711929..5f046327fa 100644 --- a/api/video/encoded_frame.h +++ b/api/video/encoded_frame.h @@ -59,11 +59,6 @@ class EncodedFrame : public webrtc::VCMEncodedFrame { int64_t id_ = -1; }; -// TODO(bugs.webrtc.org/12579): Remove when downstream has been updated. -namespace video_coding { -using ::webrtc::EncodedFrame; -} // namespace video_coding - } // namespace webrtc #endif // API_VIDEO_ENCODED_FRAME_H_ diff --git a/modules/video_coding/frame_object.h b/modules/video_coding/frame_object.h index 3b0d94a0dc..c6f069f241 100644 --- a/modules/video_coding/frame_object.h +++ b/modules/video_coding/frame_object.h @@ -63,11 +63,6 @@ class RtpFrameObject : public EncodedFrame { int times_nacked_; }; -// TODO(bugs.webrtc.org/12579): Remove when downstream has been updated. -namespace video_coding { -using ::webrtc::RtpFrameObject; -} // namespace video_coding - } // namespace webrtc #endif // MODULES_VIDEO_CODING_FRAME_OBJECT_H_ diff --git a/modules/video_coding/rtp_frame_reference_finder.h b/modules/video_coding/rtp_frame_reference_finder.h index 466752297d..3577ea8285 100644 --- a/modules/video_coding/rtp_frame_reference_finder.h +++ b/modules/video_coding/rtp_frame_reference_finder.h @@ -28,11 +28,6 @@ class OnCompleteFrameCallback { virtual void OnCompleteFrame(std::unique_ptr frame) = 0; }; -// TODO(bugs.webrtc.org/12579): Remove when downstream has been update. -namespace video_coding { -using OnCompleteFrameCallback = webrtc::OnCompleteFrameCallback; -} // namespace video_coding - class RtpFrameReferenceFinder { public: using ReturnVector = absl::InlinedVector, 3>;