|
Reland of Make the default ctor of rtc::Thread, protected
This is a partial re-land. The change doesn't make the default Thread ctor protected anymore but it does mark it as deprecated and updates all use of it in WebRTC.
Original issue's description:
Make the default ctor of rtc::Thread, protected.
The goal is to force use of Thread::Create or Thread::CreateWithSocketServer.
The default constructor constructs a 'default' socket server, which is usually a 'physical' socket server, but not always. Not every instance of Thread actually needs to have network support, so it's better to have this be explicit instead of unknowingly instantiate one.
BUG=none
Review-Url: https://codereview.webrtc.org/2977953002
Cr-Commit-Position: refs/heads/master@{#19031}
Committed: https://chromium.googlesource.com/external/webrtc/+/e7251599a37051f07d81cb8333823f550eae5b9c
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+178 lines, -153 lines) |
Patch |
|
M |
webrtc/pc/channelmanager_unittest.cc
|
View
|
1
|
4 chunks |
+17 lines, -15 lines |
0 comments
|
Download
|
|
M |
webrtc/pc/peerconnectionendtoend_unittest.cc
|
View
|
1
|
2 chunks |
+8 lines, -6 lines |
0 comments
|
Download
|
|
M |
webrtc/pc/peerconnectioninterface_unittest.cc
|
View
|
1
|
1 chunk |
+5 lines, -4 lines |
0 comments
|
Download
|
|
M |
webrtc/pc/proxy_unittest.cc
|
View
|
1
|
3 chunks |
+14 lines, -12 lines |
0 comments
|
Download
|
|
M |
webrtc/pc/rtcstats_integrationtest.cc
|
View
|
1
|
2 chunks |
+8 lines, -7 lines |
0 comments
|
Download
|
|
M |
webrtc/pc/test/fakeaudiocapturemodule.cc
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
webrtc/rtc_base/criticalsection_unittest.cc
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
webrtc/rtc_base/logging_unittest.cc
|
View
|
1
2
3
4
|
2 chunks |
+4 lines, -1 line |
0 comments
|
Download
|
|
M |
webrtc/rtc_base/messagequeue_unittest.cc
|
View
|
1
|
8 chunks |
+21 lines, -21 lines |
0 comments
|
Download
|
|
M |
webrtc/rtc_base/nullsocketserver_unittest.cc
|
View
|
1
|
1 chunk |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
webrtc/rtc_base/physicalsocketserver_unittest.cc
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
webrtc/rtc_base/rtccertificategenerator_unittest.cc
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
webrtc/rtc_base/socket_unittest.cc
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
webrtc/rtc_base/thread.h
|
View
|
1
|
1 chunk |
+6 lines, -1 line |
0 comments
|
Download
|
|
M |
webrtc/rtc_base/thread.cc
|
View
|
1
|
4 chunks |
+4 lines, -3 lines |
0 comments
|
Download
|
|
M |
webrtc/rtc_base/thread_checker_unittest.cc
|
View
|
1
2
3
4
|
5 chunks |
+12 lines, -5 lines |
0 comments
|
Download
|
|
M |
webrtc/rtc_base/thread_unittest.cc
|
View
|
1
2
3
4
|
15 chunks |
+47 lines, -47 lines |
0 comments
|
Download
|
|
M |
webrtc/rtc_base/timeutils_unittest.cc
|
View
|
1
|
3 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
|
M |
webrtc/sdk/android/src/jni/androidmediadecoder_jni.cc
|
View
|
1
|
2 chunks |
+20 lines, -19 lines |
0 comments
|
Download
|
Total messages: 30 (18 generated)
|