webrtc/pc
Karl Wiberg 32562250ca "Remove" loophole in rtc::Thread::ScopedDisallowBlockingCalls
It was previously possible to escape the sandbox by calling
rtc::Thread::SetAllowBlockingCalls(true).

This CL only removes the loophole on non-Android builds, because we
still have old Android code that relies on it. We expect that code to
go away soon-ish, though.

Bug: webrtc:9987
Change-Id: Ida96400d0abe430af4c2046284795d37d64f6613
Reviewed-on: https://webrtc-review.googlesource.com/c/123523
Commit-Queue: Karl Wiberg <kwiberg@webrtc.org>
Reviewed-by: Tommi <tommi@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#26792}
2019-02-21 13:20:53 +00:00
..
test Rejected simulcast layers will no longer appear in GetParameters(). 2019-02-19 22:01:53 +00:00
audio_rtp_receiver.cc Split rtp_receiver for readability. 2019-02-11 12:47:51 +00:00
audio_rtp_receiver.h Split rtp_receiver for readability. 2019-02-11 12:47:51 +00:00
audio_track.cc (4) Rename files to snake_case: update BUILD.gn, include paths, header guards, and DEPS entries 2019-01-11 17:11:39 +00:00
audio_track.h Remove rtc_base/scoped_ref_ptr.h. 2019-01-25 20:29:58 +00:00
BUILD.gn Delete unused class RtpTransportInternalAdapter 2019-02-21 07:20:46 +00:00
channel_interface.h Creating Simulcast offer and answer in Peer Connection. 2019-01-28 18:56:02 +00:00
channel_manager_unittest.cc Creating Simulcast offer and answer in Peer Connection. 2019-01-28 18:56:02 +00:00
channel_manager.cc "Remove" loophole in rtc::Thread::ScopedDisallowBlockingCalls 2019-02-21 13:20:53 +00:00
channel_manager.h Creating Simulcast offer and answer in Peer Connection. 2019-01-28 18:56:02 +00:00
channel_unittest.cc [clang-tidy] Apply performance-move-const-arg fixes. 2019-02-01 15:02:36 +00:00
channel.cc Allow more than one registered network change callback in MediaTransport 2019-02-06 16:14:45 +00:00
channel.h Creating Simulcast offer and answer in Peer Connection. 2019-01-28 18:56:02 +00:00
data_channel_unittest.cc (4) Rename files to snake_case: update BUILD.gn, include paths, header guards, and DEPS entries 2019-01-11 17:11:39 +00:00
data_channel.cc (4) Rename files to snake_case: update BUILD.gn, include paths, header guards, and DEPS entries 2019-01-11 17:11:39 +00:00
data_channel.h Remove rtc_base/scoped_ref_ptr.h. 2019-01-25 20:29:58 +00:00
DEPS Remove +api from internal DEPS files. 2019-01-28 11:17:00 +00:00
dtls_srtp_transport_unittest.cc (4) Rename files to snake_case: update BUILD.gn, include paths, header guards, and DEPS entries 2019-01-11 17:11:39 +00:00
dtls_srtp_transport.cc (4) Rename files to snake_case: update BUILD.gn, include paths, header guards, and DEPS entries 2019-01-11 17:11:39 +00:00
dtls_srtp_transport.h (4) Rename files to snake_case: update BUILD.gn, include paths, header guards, and DEPS entries 2019-01-11 17:11:39 +00:00
dtls_transport.cc Allow DtlsTransport::Information() to be called off-thread 2019-02-14 13:15:05 +00:00
dtls_transport.h Allow DtlsTransport::Information() to be called off-thread 2019-02-14 13:15:05 +00:00
dtlstransport_unittest.cc (4) Rename files to snake_case: update BUILD.gn, include paths, header guards, and DEPS entries 2019-01-11 17:11:39 +00:00
dtmf_sender_unittest.cc (4) Rename files to snake_case: update BUILD.gn, include paths, header guards, and DEPS entries 2019-01-11 17:11:39 +00:00
dtmf_sender.cc Remove comments about using std::shared_ptr. 2019-01-15 13:15:58 +00:00
dtmf_sender.h (4) Rename files to snake_case: update BUILD.gn, include paths, header guards, and DEPS entries 2019-01-11 17:11:39 +00:00
external_hmac.cc (4) Rename files to snake_case: update BUILD.gn, include paths, header guards, and DEPS entries 2019-01-11 17:11:39 +00:00
external_hmac.h (4) Rename files to snake_case: update BUILD.gn, include paths, header guards, and DEPS entries 2019-01-11 17:11:39 +00:00
ice_server_parsing_unittest.cc (4) Rename files to snake_case: update BUILD.gn, include paths, header guards, and DEPS entries 2019-01-11 17:11:39 +00:00
ice_server_parsing.cc (4) Rename files to snake_case: update BUILD.gn, include paths, header guards, and DEPS entries 2019-01-11 17:11:39 +00:00
ice_server_parsing.h (4) Rename files to snake_case: update BUILD.gn, include paths, header guards, and DEPS entries 2019-01-11 17:11:39 +00:00
ice_transport_unittest.cc Add IceTransportInterface object 2019-01-30 16:16:51 +00:00
ice_transport.cc Add IceTransportInterface object 2019-01-30 16:16:51 +00:00
ice_transport.h Add IceTransportInterface object 2019-01-30 16:16:51 +00:00
jsep_ice_candidate.cc (4) Rename files to snake_case: update BUILD.gn, include paths, header guards, and DEPS entries 2019-01-11 17:11:39 +00:00
jsep_session_description_unittest.cc Use c=IN IP4 <hostname> to support the presence of hostname candidates. 2019-02-08 22:51:37 +00:00
jsep_session_description.cc Use c=IN IP4 <hostname> to support the presence of hostname candidates. 2019-02-08 22:51:37 +00:00
jsep_transport_controller_unittest.cc Only create no-op DTLS if media transport is used for both media and data 2019-01-26 00:04:22 +00:00
jsep_transport_controller.cc Do not use RtcEventLogs in media transport when used only for data channel. 2019-02-20 15:16:37 +00:00
jsep_transport_controller.h Only create no-op DTLS if media transport is used for both media and data 2019-01-26 00:04:22 +00:00
jsep_transport_unittest.cc Stop using Googletest legacy APIs. 2019-01-31 13:23:33 +00:00
jsep_transport.cc [clang-tidy] Apply performance-move-const-arg fixes. 2019-02-01 15:02:36 +00:00
jsep_transport.h Add DTLSTransport info into sender/receiver state. 2019-01-17 10:21:32 +00:00
local_audio_source_unittest.cc (4) Rename files to snake_case: update BUILD.gn, include paths, header guards, and DEPS entries 2019-01-11 17:11:39 +00:00
local_audio_source.cc (4) Rename files to snake_case: update BUILD.gn, include paths, header guards, and DEPS entries 2019-01-11 17:11:39 +00:00
local_audio_source.h Remove rtc_base/scoped_ref_ptr.h. 2019-01-25 20:29:58 +00:00
media_session_unittest.cc Stop hard-coding default IDs for RTP extensions 2019-02-09 01:04:35 +00:00
media_session.cc Stop hard-coding default IDs for RTP extensions 2019-02-09 01:04:35 +00:00
media_session.h Use Abseil container algorithms in pc/ 2019-01-29 02:33:50 +00:00
media_stream_observer.cc Use Abseil container algorithms in pc/ 2019-01-29 02:33:50 +00:00
media_stream_observer.h Remove rtc_base/scoped_ref_ptr.h. 2019-01-25 20:29:58 +00:00
media_stream_track.h (4) Rename files to snake_case: update BUILD.gn, include paths, header guards, and DEPS entries 2019-01-11 17:11:39 +00:00
media_stream_unittest.cc (4) Rename files to snake_case: update BUILD.gn, include paths, header guards, and DEPS entries 2019-01-11 17:11:39 +00:00
media_stream.cc (4) Rename files to snake_case: update BUILD.gn, include paths, header guards, and DEPS entries 2019-01-11 17:11:39 +00:00
media_stream.h Remove rtc_base/scoped_ref_ptr.h. 2019-01-25 20:29:58 +00:00
OWNERS Adding shampson (me) as an owner to pc/ & api/. 2018-07-03 20:39:17 +00:00
peer_connection_bundle_unittest.cc Stop using Googletest legacy APIs. 2019-01-31 13:23:33 +00:00
peer_connection_crypto_unittest.cc Stop using Googletest legacy APIs. 2019-01-31 13:23:33 +00:00
peer_connection_data_channel_unittest.cc Stop using Googletest legacy APIs. 2019-01-31 13:23:33 +00:00
peer_connection_end_to_end_unittest.cc Delete obsolete usage of FakeConstraints 2019-02-12 12:27:04 +00:00
peer_connection_factory_unittest.cc Refactor PeerConnectionFactoryTest to not use FakeVideoCapturer. 2019-01-18 12:57:11 +00:00
peer_connection_factory.cc Move MediaConstraintsInterface to sdk/, and make it a concrete class 2019-02-14 12:07:07 +00:00
peer_connection_factory.h Delete deprecated method PeerConnectionFactory::CreateVideoSource 2019-02-07 14:24:02 +00:00
peer_connection_histogram_unittest.cc Remove rtc_base/scoped_ref_ptr.h. 2019-01-25 20:29:58 +00:00
peer_connection_ice_unittest.cc [clang-tidy] Apply performance-move-const-arg fixes (misc). 2019-02-05 15:12:20 +00:00
peer_connection_integrationtest.cc Stop using Googletest legacy APIs. 2019-01-31 13:23:33 +00:00
peer_connection_interface_unittest.cc Replace replace_substrs with Abseil 2019-02-15 01:22:54 +00:00
peer_connection_internal.h (4) Rename files to snake_case: update BUILD.gn, include paths, header guards, and DEPS entries 2019-01-11 17:11:39 +00:00
peer_connection_jsep_unittest.cc Also check the pending remote description when generating MIDs for legacy remote offers 2019-02-07 20:22:38 +00:00
peer_connection_media_unittest.cc Stop using Googletest legacy APIs. 2019-01-31 13:23:33 +00:00
peer_connection_rampup_tests.cc Remove rtc_base/scoped_ref_ptr.h. 2019-01-25 20:29:58 +00:00
peer_connection_rtp_unittest.cc Reland "Enabling Simulcast use via AddTransceiver." 2019-02-14 20:58:34 +00:00
peer_connection_signaling_unittest.cc Stop using Googletest legacy APIs. 2019-01-31 13:23:33 +00:00
peer_connection_simulcast_unittest.cc Rejected simulcast layers will no longer appear in GetParameters(). 2019-02-19 22:01:53 +00:00
peer_connection_wrapper.cc (4) Rename files to snake_case: update BUILD.gn, include paths, header guards, and DEPS entries 2019-01-11 17:11:39 +00:00
peer_connection_wrapper.h Remove rtc_base/scoped_ref_ptr.h. 2019-01-25 20:29:58 +00:00
peer_connection.cc Refactoring RtpSenderInternal to share implementation for Audio & Video. 2019-02-20 01:23:04 +00:00
peer_connection.h Add thread safety annotations for PeerConnection::*_state_ 2019-02-17 13:02:33 +00:00
proxy_unittest.cc (4) Rename files to snake_case: update BUILD.gn, include paths, header guards, and DEPS entries 2019-01-11 17:11:39 +00:00
remote_audio_source.cc Add latency to remote source api. 2019-02-16 02:13:44 +00:00
remote_audio_source.h Add latency to remote source api. 2019-02-16 02:13:44 +00:00
rtc_stats_collector_unittest.cc Revert "Fix getStats() freeze bug affecting Chromium but not WebRTC standalone." 2019-02-15 21:10:54 +00:00
rtc_stats_collector.cc Revert "Fix getStats() freeze bug affecting Chromium but not WebRTC standalone." 2019-02-15 21:10:54 +00:00
rtc_stats_collector.h Revert "Fix getStats() freeze bug affecting Chromium but not WebRTC standalone." 2019-02-15 21:10:54 +00:00
rtc_stats_integrationtest.cc Delete obsolete usage of FakeConstraints 2019-02-12 12:27:04 +00:00
rtc_stats_traversal_unittest.cc [clang-tidy] Apply performance-inefficient-vector-operation fixes. 2019-01-29 09:45:21 +00:00
rtc_stats_traversal.cc (4) Rename files to snake_case: update BUILD.gn, include paths, header guards, and DEPS entries 2019-01-11 17:11:39 +00:00
rtc_stats_traversal.h Remove rtc_base/scoped_ref_ptr.h. 2019-01-25 20:29:58 +00:00
rtcp_mux_filter_unittest.cc (4) Rename files to snake_case: update BUILD.gn, include paths, header guards, and DEPS entries 2019-01-11 17:11:39 +00:00
rtcp_mux_filter.cc (4) Rename files to snake_case: update BUILD.gn, include paths, header guards, and DEPS entries 2019-01-11 17:11:39 +00:00
rtcp_mux_filter.h (4) Rename files to snake_case: update BUILD.gn, include paths, header guards, and DEPS entries 2019-01-11 17:11:39 +00:00
rtp_media_utils_unittest.cc Stop using Googletest legacy APIs. 2019-01-31 13:23:33 +00:00
rtp_media_utils.cc (4) Rename files to snake_case: update BUILD.gn, include paths, header guards, and DEPS entries 2019-01-11 17:11:39 +00:00
rtp_media_utils.h (4) Rename files to snake_case: update BUILD.gn, include paths, header guards, and DEPS entries 2019-01-11 17:11:39 +00:00
rtp_parameters_conversion_unittest.cc Use Abseil container algorithms in pc/ 2019-01-29 02:33:50 +00:00
rtp_parameters_conversion.cc (4) Rename files to snake_case: update BUILD.gn, include paths, header guards, and DEPS entries 2019-01-11 17:11:39 +00:00
rtp_parameters_conversion.h (4) Rename files to snake_case: update BUILD.gn, include paths, header guards, and DEPS entries 2019-01-11 17:11:39 +00:00
rtp_receiver.cc Split rtp_receiver for readability. 2019-02-11 12:47:51 +00:00
rtp_receiver.h Split rtp_receiver for readability. 2019-02-11 12:47:51 +00:00
rtp_sender_receiver_unittest.cc Refactoring RtpSenderInternal to share implementation for Audio & Video. 2019-02-20 01:23:04 +00:00
rtp_sender.cc Refactoring RtpSenderInternal to share implementation for Audio & Video. 2019-02-20 01:23:04 +00:00
rtp_sender.h Refactoring RtpSenderInternal to share implementation for Audio & Video. 2019-02-20 01:23:04 +00:00
rtp_transceiver_unittest.cc (4) Rename files to snake_case: update BUILD.gn, include paths, header guards, and DEPS entries 2019-01-11 17:11:39 +00:00
rtp_transceiver.cc Use Abseil container algorithms in pc/ 2019-01-29 02:33:50 +00:00
rtp_transceiver.h webrtc: Remove semicolons. 2019-02-20 16:02:59 +00:00
rtp_transport_internal.h (4) Rename files to snake_case: update BUILD.gn, include paths, header guards, and DEPS entries 2019-01-11 17:11:39 +00:00
rtp_transport_unittest.cc [clang-tidy] Apply performance-move-const-arg fixes. 2019-02-01 15:02:36 +00:00
rtp_transport.cc (4) Rename files to snake_case: update BUILD.gn, include paths, header guards, and DEPS entries 2019-01-11 17:11:39 +00:00
rtp_transport.h (4) Rename files to snake_case: update BUILD.gn, include paths, header guards, and DEPS entries 2019-01-11 17:11:39 +00:00
sctp_utils_unittest.cc (4) Rename files to snake_case: update BUILD.gn, include paths, header guards, and DEPS entries 2019-01-11 17:11:39 +00:00
sctp_utils.cc (4) Rename files to snake_case: update BUILD.gn, include paths, header guards, and DEPS entries 2019-01-11 17:11:39 +00:00
sctp_utils.h (4) Rename files to snake_case: update BUILD.gn, include paths, header guards, and DEPS entries 2019-01-11 17:11:39 +00:00
sdp_serializer_unittest.cc Stop using Googletest legacy APIs. 2019-01-31 13:23:33 +00:00
sdp_serializer.cc Use Abseil container algorithms in pc/ 2019-01-29 02:33:50 +00:00
sdp_serializer.h (4) Rename files to snake_case: update BUILD.gn, include paths, header guards, and DEPS entries 2019-01-11 17:11:39 +00:00
sdp_utils.cc (4) Rename files to snake_case: update BUILD.gn, include paths, header guards, and DEPS entries 2019-01-11 17:11:39 +00:00
sdp_utils.h (4) Rename files to snake_case: update BUILD.gn, include paths, header guards, and DEPS entries 2019-01-11 17:11:39 +00:00
session_description_unittest.cc (4) Rename files to snake_case: update BUILD.gn, include paths, header guards, and DEPS entries 2019-01-11 17:11:39 +00:00
session_description.cc Use Abseil container algorithms in pc/ 2019-01-29 02:33:50 +00:00
session_description.h Removing receive RIDs and Simulcast Layers. 2019-01-29 00:54:26 +00:00
simulcast_description.cc (4) Rename files to snake_case: update BUILD.gn, include paths, header guards, and DEPS entries 2019-01-11 17:11:39 +00:00
simulcast_description.h (4) Rename files to snake_case: update BUILD.gn, include paths, header guards, and DEPS entries 2019-01-11 17:11:39 +00:00
srtp_filter_unittest.cc (4) Rename files to snake_case: update BUILD.gn, include paths, header guards, and DEPS entries 2019-01-11 17:11:39 +00:00
srtp_filter.cc (4) Rename files to snake_case: update BUILD.gn, include paths, header guards, and DEPS entries 2019-01-11 17:11:39 +00:00
srtp_filter.h (4) Rename files to snake_case: update BUILD.gn, include paths, header guards, and DEPS entries 2019-01-11 17:11:39 +00:00
srtp_session_unittest.cc (4) Rename files to snake_case: update BUILD.gn, include paths, header guards, and DEPS entries 2019-01-11 17:11:39 +00:00
srtp_session.cc (4) Rename files to snake_case: update BUILD.gn, include paths, header guards, and DEPS entries 2019-01-11 17:11:39 +00:00
srtp_session.h Remove rtc_base/scoped_ref_ptr.h. 2019-01-25 20:29:58 +00:00
srtp_transport_unittest.cc Stop using Googletest legacy APIs. 2019-01-31 13:23:33 +00:00
srtp_transport.cc (4) Rename files to snake_case: update BUILD.gn, include paths, header guards, and DEPS entries 2019-01-11 17:11:39 +00:00
srtp_transport.h (4) Rename files to snake_case: update BUILD.gn, include paths, header guards, and DEPS entries 2019-01-11 17:11:39 +00:00
stats_collector_unittest.cc Stop using Googletest legacy APIs. 2019-01-31 13:23:33 +00:00
stats_collector.cc [clang-tidy] Apply performance-for-range-copy fixes. 2019-01-28 09:53:50 +00:00
stats_collector.h (4) Rename files to snake_case: update BUILD.gn, include paths, header guards, and DEPS entries 2019-01-11 17:11:39 +00:00
stream_collection.h (4) Rename files to snake_case: update BUILD.gn, include paths, header guards, and DEPS entries 2019-01-11 17:11:39 +00:00
track_media_info_map_unittest.cc (4) Rename files to snake_case: update BUILD.gn, include paths, header guards, and DEPS entries 2019-01-11 17:11:39 +00:00
track_media_info_map.cc [clang-tidy] Apply performance-for-range-copy fixes. 2019-01-28 09:53:50 +00:00
track_media_info_map.h (4) Rename files to snake_case: update BUILD.gn, include paths, header guards, and DEPS entries 2019-01-11 17:11:39 +00:00
transport_stats.cc [clang-tidy] Apply performance-move-const-arg fixes (misc). 2019-02-05 15:12:20 +00:00
transport_stats.h [clang-tidy] Apply performance-move-const-arg fixes (misc). 2019-02-05 15:12:20 +00:00
video_rtp_receiver.cc Split rtp_receiver for readability. 2019-02-11 12:47:51 +00:00
video_rtp_receiver.h Split rtp_receiver for readability. 2019-02-11 12:47:51 +00:00
video_track_source.cc (4) Rename files to snake_case: update BUILD.gn, include paths, header guards, and DEPS entries 2019-01-11 17:11:39 +00:00
video_track_source.h (4) Rename files to snake_case: update BUILD.gn, include paths, header guards, and DEPS entries 2019-01-11 17:11:39 +00:00
video_track_unittest.cc Refactor VideoTrackTest to not depend on cricket::VideoCapturer 2019-01-21 07:33:35 +00:00
video_track.cc (4) Rename files to snake_case: update BUILD.gn, include paths, header guards, and DEPS entries 2019-01-11 17:11:39 +00:00
video_track.h Remove rtc_base/scoped_ref_ptr.h. 2019-01-25 20:29:58 +00:00
webrtc_sdp_unittest.cc Replace replace_substrs with Abseil 2019-02-15 01:22:54 +00:00
webrtc_sdp.cc Use c=IN IP4 <hostname> to support the presence of hostname candidates. 2019-02-08 22:51:37 +00:00
webrtc_sdp.h Make webrtc::ParseCandidate() public. 2019-01-25 13:58:57 +00:00
webrtc_session_description_factory.cc Use Abseil container algorithms in pc/ 2019-01-29 02:33:50 +00:00
webrtc_session_description_factory.h Creating Simulcast offer and answer in Peer Connection. 2019-01-28 18:56:02 +00:00