commit ddb60a461c96533894354083f43fdc63bbb4d393
parent ddeaf64bb73e2e202db395dd92a5fb0e38487386
Author: Dan Baker <dbaker@mozilla.com>
Date: Mon, 1 Dec 2025 22:04:29 -0700
Bug 2000941 - Vendor libwebrtc from b71605e1a0
Upstream commit: https://webrtc.googlesource.com/src/+/b71605e1a0e765fbc2570290b69a070b1922e37c
Remove the MockSessionDescriptionInterface class
Bug: none
Change-Id: I3ad674b9f0d98b4dd66d4dd08c531fb3ff9b0e4b
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/409920
Reviewed-by: Harald Alvestrand <hta@webrtc.org>
Commit-Queue: Tomas Gunnarsson <tommi@webrtc.org>
Cr-Commit-Position: refs/heads/main@{#45683}
Diffstat:
2 files changed, 2 insertions(+), 48 deletions(-)
diff --git a/third_party/libwebrtc/README.mozilla.last-vendor b/third_party/libwebrtc/README.mozilla.last-vendor
@@ -1,4 +1,4 @@
# ./mach python dom/media/webrtc/third_party_build/vendor-libwebrtc.py --from-local /Users/danielbaker/elm/.moz-fast-forward/moz-libwebrtc --commit mozpatches libwebrtc
-libwebrtc updated from /Users/danielbaker/elm/.moz-fast-forward/moz-libwebrtc commit mozpatches on 2025-12-02T05:01:51.512320+00:00.
+libwebrtc updated from /Users/danielbaker/elm/.moz-fast-forward/moz-libwebrtc commit mozpatches on 2025-12-02T05:04:15.351620+00:00.
# base of lastest vendoring
-30fd9ebbf6
+b71605e1a0
diff --git a/third_party/libwebrtc/api/test/mock_session_description_interface.h b/third_party/libwebrtc/api/test/mock_session_description_interface.h
@@ -11,50 +11,4 @@
#ifndef API_TEST_MOCK_SESSION_DESCRIPTION_INTERFACE_H_
#define API_TEST_MOCK_SESSION_DESCRIPTION_INTERFACE_H_
-#include <cstddef>
-#include <memory>
-#include <string>
-#include <type_traits>
-
-#include "api/jsep.h"
-#include "pc/session_description.h"
-#include "test/gmock.h"
-
-namespace webrtc {
-
-class [[deprecated(
- "Use the SessionDescriptionInterface directly instead, including the "
- "static Create() methods within the "
- "interface.")]] MockSessionDescriptionInterface
- : public SessionDescriptionInterface {
- public:
- MockSessionDescriptionInterface()
- : SessionDescriptionInterface(SdpType::kRollback, nullptr, "", "") {}
- MOCK_METHOD(std::unique_ptr<SessionDescriptionInterface>,
- Clone,
- (),
- (const, override));
- MOCK_METHOD(SessionDescription*, description, (), (override));
- MOCK_METHOD(const SessionDescription*, description, (), (const, override));
- MOCK_METHOD(std::string, session_id, (), (const, override));
- MOCK_METHOD(std::string, session_version, (), (const, override));
- MOCK_METHOD(SdpType, GetType, (), (const, override));
- MOCK_METHOD(std::string, type, (), (const, override));
- MOCK_METHOD(bool, AddCandidate, (const IceCandidate*), (override));
- MOCK_METHOD(bool, RemoveCandidate, (const IceCandidate*), (override));
- MOCK_METHOD(size_t, number_of_mediasections, (), (const, override));
- MOCK_METHOD(const IceCandidateCollection*,
- candidates,
- (size_t),
- (const, override));
- MOCK_METHOD(bool, ToString, (std::string*), (const, override));
-};
-
-#pragma clang diagnostic push
-#pragma clang diagnostic ignored "-Wdeprecated-declarations"
-static_assert(!std::is_abstract_v<MockSessionDescriptionInterface>);
-#pragma clang diagnostic pop
-
-} // namespace webrtc
-
#endif // API_TEST_MOCK_SESSION_DESCRIPTION_INTERFACE_H_