#include "third_party/blink/renderer/bindings/modules/v8/v8_rtc_peer_connection.h"
#include "third_party/blink/public/mojom/origin_trial_feature/origin_trial_feature.mojom-shared.h"
#include "third_party/blink/renderer/bindings/core/v8/generated_code_helper.h"
#include "third_party/blink/renderer/bindings/core/v8/native_value_traits_impl.h"
#include "third_party/blink/renderer/bindings/core/v8/to_v8_traits.h"
#include "third_party/blink/renderer/bindings/core/v8/v8_event_handler_non_null.h"
#include "third_party/blink/renderer/bindings/core/v8/v8_event_target.h"
#include "third_party/blink/renderer/bindings/core/v8/v8_set_return_value_for_core.h"
#include "third_party/blink/renderer/bindings/core/v8/v8_union_object_string.h"
#include "third_party/blink/renderer/bindings/core/v8/v8_void_function.h"
#include "third_party/blink/renderer/bindings/modules/v8/v8_media_stream.h"
#include "third_party/blink/renderer/bindings/modules/v8/v8_media_stream_track.h"
#include "third_party/blink/renderer/bindings/modules/v8/v8_rtc_answer_options.h"
#include "third_party/blink/renderer/bindings/modules/v8/v8_rtc_certificate.h"
#include "third_party/blink/renderer/bindings/modules/v8/v8_rtc_configuration.h"
#include "third_party/blink/renderer/bindings/modules/v8/v8_rtc_data_channel.h"
#include "third_party/blink/renderer/bindings/modules/v8/v8_rtc_data_channel_init.h"
#include "third_party/blink/renderer/bindings/modules/v8/v8_rtc_dtmf_sender.h"
#include "third_party/blink/renderer/bindings/modules/v8/v8_rtc_ice_candidate_init.h"
#include "third_party/blink/renderer/bindings/modules/v8/v8_rtc_ice_connection_state.h"
#include "third_party/blink/renderer/bindings/modules/v8/v8_rtc_ice_gathering_state.h"
#include "third_party/blink/renderer/bindings/modules/v8/v8_rtc_offer_options.h"
#include "third_party/blink/renderer/bindings/modules/v8/v8_rtc_peer_connection_error_callback.h"
#include "third_party/blink/renderer/bindings/modules/v8/v8_rtc_peer_connection_state.h"
#include "third_party/blink/renderer/bindings/modules/v8/v8_rtc_rtp_receiver.h"
#include "third_party/blink/renderer/bindings/modules/v8/v8_rtc_rtp_sender.h"
#include "third_party/blink/renderer/bindings/modules/v8/v8_rtc_rtp_transceiver.h"
#include "third_party/blink/renderer/bindings/modules/v8/v8_rtc_rtp_transceiver_init.h"
#include "third_party/blink/renderer/bindings/modules/v8/v8_rtc_rtp_transport.h"
#include "third_party/blink/renderer/bindings/modules/v8/v8_rtc_sctp_transport.h"
#include "third_party/blink/renderer/bindings/modules/v8/v8_rtc_session_description.h"
#include "third_party/blink/renderer/bindings/modules/v8/v8_rtc_session_description_callback.h"
#include "third_party/blink/renderer/bindings/modules/v8/v8_rtc_session_description_init.h"
#include "third_party/blink/renderer/bindings/modules/v8/v8_rtc_signaling_state.h"
#include "third_party/blink/renderer/bindings/modules/v8/v8_rtc_stats_report.h"
#include "third_party/blink/renderer/bindings/modules/v8/v8_union_mediastreamtrack_string.h"
#include "third_party/blink/renderer/core/execution_context/execution_context.h"
#include "third_party/blink/renderer/core/frame/web_feature.h"
#include "third_party/blink/renderer/modules/mediastream/media_stream.h"
#include "third_party/blink/renderer/modules/mediastream/media_stream_track.h"
#include "third_party/blink/renderer/modules/peerconnection/rtc_certificate.h"
#include "third_party/blink/renderer/modules/peerconnection/rtc_data_channel.h"
#include "third_party/blink/renderer/modules/peerconnection/rtc_dtmf_sender.h"
#include "third_party/blink/renderer/modules/peerconnection/rtc_peer_connection.h"
#include "third_party/blink/renderer/modules/peerconnection/rtc_rtp_receiver.h"
#include "third_party/blink/renderer/modules/peerconnection/rtc_rtp_sender.h"
#include "third_party/blink/renderer/modules/peerconnection/rtc_rtp_transceiver.h"
#include "third_party/blink/renderer/modules/peerconnection/rtc_rtp_transport.h"
#include "third_party/blink/renderer/modules/peerconnection/rtc_sctp_transport.h"
#include "third_party/blink/renderer/modules/peerconnection/rtc_session_description.h"
#include "third_party/blink/renderer/modules/peerconnection/rtc_stats_report.h"
#include "third_party/blink/renderer/platform/bindings/cooperative_scheduling_helpers.h"
#include "third_party/blink/renderer/platform/bindings/exception_messages.h"
#include "third_party/blink/renderer/platform/bindings/idl_member_installer.h"
#include "third_party/blink/renderer/platform/bindings/runtime_call_stats.h"
#include "third_party/blink/renderer/platform/bindings/v8_binding.h"
#include "third_party/blink/renderer/platform/bindings/v8_object_constructor.h"
#include "third_party/blink/renderer/platform/bindings/wrapper_type_info.h"
#include "third_party/blink/renderer/platform/instrumentation/use_counter.h"
namespace blink {
bool V8RTCPeerConnection::IsExposed(ExecutionContext* execution_context) { … }
#if defined(COMPONENT_BUILD) && defined(WIN32) && defined(__clang__)
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wglobal-constructors"
#endif
const WrapperTypeInfo V8RTCPeerConnection::wrapper_type_info_{ … };
#if defined(COMPONENT_BUILD) && defined(WIN32) && defined(__clang__)
#pragma clang diagnostic pop
#endif
const WrapperTypeInfo& RTCPeerConnection::wrapper_type_info_ = …;
static_assert …;
namespace {
namespace v8_rtc_peer_connection {
void LocalDescriptionAttributeGetCallback(const v8::FunctionCallbackInfo<v8::Value>& info) { … }
void CurrentLocalDescriptionAttributeGetCallback(const v8::FunctionCallbackInfo<v8::Value>& info) { … }
void PendingLocalDescriptionAttributeGetCallback(const v8::FunctionCallbackInfo<v8::Value>& info) { … }
void RemoteDescriptionAttributeGetCallback(const v8::FunctionCallbackInfo<v8::Value>& info) { … }
void CurrentRemoteDescriptionAttributeGetCallback(const v8::FunctionCallbackInfo<v8::Value>& info) { … }
void PendingRemoteDescriptionAttributeGetCallback(const v8::FunctionCallbackInfo<v8::Value>& info) { … }
void SignalingStateAttributeGetCallback(const v8::FunctionCallbackInfo<v8::Value>& info) { … }
void IceGatheringStateAttributeGetCallback(const v8::FunctionCallbackInfo<v8::Value>& info) { … }
void IceConnectionStateAttributeGetCallback(const v8::FunctionCallbackInfo<v8::Value>& info) { … }
void ConnectionStateAttributeGetCallback(const v8::FunctionCallbackInfo<v8::Value>& info) { … }
void CanTrickleIceCandidatesAttributeGetCallback(const v8::FunctionCallbackInfo<v8::Value>& info) { … }
void OnnegotiationneededAttributeGetCallback(const v8::FunctionCallbackInfo<v8::Value>& info) { … }
void OnnegotiationneededAttributeSetCallback(const v8::FunctionCallbackInfo<v8::Value>& info) { … }
void OnicecandidateAttributeGetCallback(const v8::FunctionCallbackInfo<v8::Value>& info) { … }
void OnicecandidateAttributeSetCallback(const v8::FunctionCallbackInfo<v8::Value>& info) { … }
void OnsignalingstatechangeAttributeGetCallback(const v8::FunctionCallbackInfo<v8::Value>& info) { … }
void OnsignalingstatechangeAttributeSetCallback(const v8::FunctionCallbackInfo<v8::Value>& info) { … }
void OniceconnectionstatechangeAttributeGetCallback(const v8::FunctionCallbackInfo<v8::Value>& info) { … }
void OniceconnectionstatechangeAttributeSetCallback(const v8::FunctionCallbackInfo<v8::Value>& info) { … }
void OnconnectionstatechangeAttributeGetCallback(const v8::FunctionCallbackInfo<v8::Value>& info) { … }
void OnconnectionstatechangeAttributeSetCallback(const v8::FunctionCallbackInfo<v8::Value>& info) { … }
void OnicegatheringstatechangeAttributeGetCallback(const v8::FunctionCallbackInfo<v8::Value>& info) { … }
void OnicegatheringstatechangeAttributeSetCallback(const v8::FunctionCallbackInfo<v8::Value>& info) { … }
void OnicecandidateerrorAttributeGetCallback(const v8::FunctionCallbackInfo<v8::Value>& info) { … }
void OnicecandidateerrorAttributeSetCallback(const v8::FunctionCallbackInfo<v8::Value>& info) { … }
void OntrackAttributeGetCallback(const v8::FunctionCallbackInfo<v8::Value>& info) { … }
void OntrackAttributeSetCallback(const v8::FunctionCallbackInfo<v8::Value>& info) { … }
void SctpAttributeGetCallback(const v8::FunctionCallbackInfo<v8::Value>& info) { … }
void OndatachannelAttributeGetCallback(const v8::FunctionCallbackInfo<v8::Value>& info) { … }
void OndatachannelAttributeSetCallback(const v8::FunctionCallbackInfo<v8::Value>& info) { … }
void RtpTransportAttributeGetCallback(const v8::FunctionCallbackInfo<v8::Value>& info) { … }
void OnaddstreamAttributeGetCallback(const v8::FunctionCallbackInfo<v8::Value>& info) { … }
void OnaddstreamAttributeSetCallback(const v8::FunctionCallbackInfo<v8::Value>& info) { … }
void OnremovestreamAttributeGetCallback(const v8::FunctionCallbackInfo<v8::Value>& info) { … }
void OnremovestreamAttributeSetCallback(const v8::FunctionCallbackInfo<v8::Value>& info) { … }
void ConstructorCallback(const v8::FunctionCallbackInfo<v8::Value>& info) { … }
void AddIceCandidateOperationOverload1(const v8::FunctionCallbackInfo<v8::Value>& info) { … }
void AddIceCandidateOperationOverload2(const v8::FunctionCallbackInfo<v8::Value>& info) { … }
void AddIceCandidateOperationCallback(const v8::FunctionCallbackInfo<v8::Value>& info) { … }
void AddStreamOperationCallback(const v8::FunctionCallbackInfo<v8::Value>& info) { … }
void AddTrackOperationCallback(const v8::FunctionCallbackInfo<v8::Value>& info) { … }
void AddTransceiverOperationCallback(const v8::FunctionCallbackInfo<v8::Value>& info) { … }
void CloseOperationCallback(const v8::FunctionCallbackInfo<v8::Value>& info) { … }
void CreateAnswerOperationOverload1(const v8::FunctionCallbackInfo<v8::Value>& info) { … }
void CreateAnswerOperationOverload2(const v8::FunctionCallbackInfo<v8::Value>& info) { … }
void CreateAnswerOperationCallback(const v8::FunctionCallbackInfo<v8::Value>& info) { … }
void CreateDTMFSenderOperationCallback(const v8::FunctionCallbackInfo<v8::Value>& info) { … }
void CreateDataChannelOperationCallback(const v8::FunctionCallbackInfo<v8::Value>& info) { … }
void CreateOfferOperationOverload1(const v8::FunctionCallbackInfo<v8::Value>& info) { … }
void CreateOfferOperationOverload2(const v8::FunctionCallbackInfo<v8::Value>& info) { … }
void CreateOfferOperationCallback(const v8::FunctionCallbackInfo<v8::Value>& info) { … }
void GetConfigurationOperationCallback(const v8::FunctionCallbackInfo<v8::Value>& info) { … }
void GetLocalStreamsOperationCallback(const v8::FunctionCallbackInfo<v8::Value>& info) { … }
void GetReceiversOperationCallback(const v8::FunctionCallbackInfo<v8::Value>& info) { … }
void GetRemoteStreamsOperationCallback(const v8::FunctionCallbackInfo<v8::Value>& info) { … }
void GetSendersOperationCallback(const v8::FunctionCallbackInfo<v8::Value>& info) { … }
void GetStatsOperationCallback(const v8::FunctionCallbackInfo<v8::Value>& info) { … }
void GetTransceiversOperationCallback(const v8::FunctionCallbackInfo<v8::Value>& info) { … }
void RemoveStreamOperationCallback(const v8::FunctionCallbackInfo<v8::Value>& info) { … }
void RemoveTrackOperationCallback(const v8::FunctionCallbackInfo<v8::Value>& info) { … }
void RestartIceOperationCallback(const v8::FunctionCallbackInfo<v8::Value>& info) { … }
void SetConfigurationOperationCallback(const v8::FunctionCallbackInfo<v8::Value>& info) { … }
void SetLocalDescriptionOperationOverload1(const v8::FunctionCallbackInfo<v8::Value>& info) { … }
void SetLocalDescriptionOperationOverload2(const v8::FunctionCallbackInfo<v8::Value>& info) { … }
void SetLocalDescriptionOperationCallback(const v8::FunctionCallbackInfo<v8::Value>& info) { … }
void SetRemoteDescriptionOperationOverload1(const v8::FunctionCallbackInfo<v8::Value>& info) { … }
void SetRemoteDescriptionOperationOverload2(const v8::FunctionCallbackInfo<v8::Value>& info) { … }
void SetRemoteDescriptionOperationCallback(const v8::FunctionCallbackInfo<v8::Value>& info) { … }
void GenerateCertificateStaticOperationCallback(const v8::FunctionCallbackInfo<v8::Value>& info) { … }
}
usingnamespacev8_rtc_peer_connection;
}
void V8RTCPeerConnection::InstallInterfaceTemplate(v8::Isolate* isolate, const DOMWrapperWorld& world, v8::Local<v8::Template> interface_template) { … }
void V8RTCPeerConnection::InstallUnconditionalProperties(v8::Isolate* isolate, const DOMWrapperWorld& world, v8::Local<v8::Template> instance_template, v8::Local<v8::Template> prototype_template, v8::Local<v8::Template> interface_template) { … }
void V8RTCPeerConnection::InstallContextIndependentProperties(v8::Isolate* isolate, const DOMWrapperWorld& world, v8::Local<v8::Template> instance_template, v8::Local<v8::Template> prototype_template, v8::Local<v8::Template> interface_template) { … }
}