Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(553)

Issue 2981623002: Make the default ctor of rtc::Thread, protected (Closed)

Created:
3 years, 5 months ago by tommi
Modified:
3 years, 5 months ago
Reviewers:
kthelgason
CC:
webrtc-reviews_webrtc.org, tterriberry_mozilla.com
Target Ref:
refs/heads/master
Project:
webrtc
Visibility:
Public.

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/2981623002 Cr-Commit-Position: refs/heads/master@{#19001} Committed: https://chromium.googlesource.com/external/webrtc/+/a8a351599788f346a2265cfcd3da9a06f577de7f

Patch Set 1 #

Patch Set 2 : Android #

Patch Set 3 : Format #

Unified diffs Side-by-side diffs Delta from patch set Stats (+150 lines, -142 lines) Patch
M webrtc/pc/channelmanager_unittest.cc View 4 chunks +17 lines, -15 lines 0 comments Download
M webrtc/pc/peerconnectionendtoend_unittest.cc View 2 chunks +8 lines, -6 lines 0 comments Download
M webrtc/pc/peerconnectioninterface_unittest.cc View 1 chunk +5 lines, -4 lines 0 comments Download
M webrtc/pc/proxy_unittest.cc View 3 chunks +14 lines, -12 lines 0 comments Download
M webrtc/pc/rtcstats_integrationtest.cc View 2 chunks +8 lines, -7 lines 0 comments Download
M webrtc/pc/test/fakeaudiocapturemodule.cc View 1 chunk +1 line, -1 line 0 comments Download
M webrtc/rtc_base/criticalsection_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M webrtc/rtc_base/messagequeue_unittest.cc View 8 chunks +21 lines, -21 lines 0 comments Download
M webrtc/rtc_base/nullsocketserver_unittest.cc View 1 chunk +3 lines, -3 lines 0 comments Download
M webrtc/rtc_base/physicalsocketserver_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M webrtc/rtc_base/rtccertificategenerator_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M webrtc/rtc_base/socket_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M webrtc/rtc_base/thread.h View 1 chunk +3 lines, -2 lines 0 comments Download
M webrtc/rtc_base/thread_unittest.cc View 12 chunks +42 lines, -44 lines 0 comments Download
M webrtc/rtc_base/timeutils_unittest.cc View 3 chunks +4 lines, -4 lines 0 comments Download
M webrtc/sdk/android/src/jni/androidmediadecoder_jni.cc View 1 2 2 chunks +20 lines, -19 lines 0 comments Download

Messages

Total messages: 20 (13 generated)
tommi
Android
3 years, 5 months ago (2017-07-12 13:15:06 UTC) #5
tommi
Format
3 years, 5 months ago (2017-07-12 13:16:36 UTC) #6
tommi
3 years, 5 months ago (2017-07-12 15:49:49 UTC) #9
kthelgason
lgtm!
3 years, 5 months ago (2017-07-13 12:30:31 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.webrtc.org/2981623002/40001
3 years, 5 months ago (2017-07-13 12:44:10 UTC) #16
commit-bot: I haz the power
Committed patchset #3 (id:40001) as https://chromium.googlesource.com/external/webrtc/+/a8a351599788f346a2265cfcd3da9a06f577de7f
3 years, 5 months ago (2017-07-13 12:47:35 UTC) #19
charujain
3 years, 5 months ago (2017-07-13 14:06:22 UTC) #20
Message was sent while issue was closed.
A revert of this CL (patchset #3 id:40001) has been created in
https://codereview.webrtc.org/2979963002/ by charujain@webrtc.org.

The reason for reverting is: Break projects..

Powered by Google App Engine
This is Rietveld 408576698