Update WebRTC IceCandidate type usage.

Replaces `webrtc::IceCandidateInterface` with `webrtc::IceCandidate` due to a change in the WebRTC API.

PiperOrigin-RevId: 798263016
This commit is contained in:
hai007
2025-08-22 10:39:19 -07:00
committed by Copybara-Service
parent 9d06831a9c
commit 5f27145da5
10 changed files with 46 additions and 52 deletions
@@ -19,10 +19,9 @@
#include <string>
#include "gtest/gtest.h"
#include "internal/platform/implementation/webrtc.h"
#include "webrtc/api/jsep.h"
#include "webrtc/api/data_channel_interface.h"
#include "webrtc/api/jsep.h"
#include "webrtc/api/peer_connection_interface.h"
#include "webrtc/api/scoped_refptr.h"
@@ -40,8 +39,7 @@ class MockPeerConnectionObserver : public webrtc::PeerConnectionObserver {
void OnIceGatheringChange(
webrtc::PeerConnectionInterface::IceGatheringState new_state) override {}
void OnIceCandidate(const webrtc::IceCandidateInterface* candidate) override {
}
void OnIceCandidate(const webrtc::IceCandidate* candidate) override {}
};
location::nearby::connections::LocationHint GetCountryCodeLocationHint(