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

Issue 1995993002: Only initialize usrsctp when it's used and uninitialize when it's not being used. (Closed)

Created:
4 years, 7 months ago by tommi
Modified:
4 years, 7 months ago
CC:
webrtc-reviews_webrtc.org, tterriberry_mozilla.com, the sun
Base URL:
https://chromium.googlesource.com/external/webrtc.git@master
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

Only initialize usrsctp when it's used and uninitialize when it's not being used. BUG=chromium:612366, webrtc:5909 R=deadbeef@webrtc.org Committed: https://chromium.googlesource.com/external/webrtc/+/7d01331eca13c620b3e6fa118c022438568f64b1

Patch Set 1 : Rearrange code: code that needs to be public, stays, static functions are now anonymous #

Patch Set 2 : Make globals anonymous and codecs_ const #

Patch Set 3 : Change debug_name_ to be const char*, remove unused method and rename the other to for_testing #

Total comments: 4

Patch Set 4 : Remove thread checker and add {}'s. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+215 lines, -181 lines) Patch
M webrtc/media/sctp/sctpdataengine.h View 1 2 3 4 chunks +14 lines, -14 lines 0 comments Download
M webrtc/media/sctp/sctpdataengine.cc View 1 2 3 15 chunks +144 lines, -111 lines 0 comments Download
M webrtc/media/sctp/sctpdataengine_unittest.cc View 1 2 25 chunks +57 lines, -56 lines 0 comments Download

Messages

Total messages: 32 (14 generated)
tommi
4 years, 7 months ago (2016-05-19 10:02:31 UTC) #2
tommi
git cl format
4 years, 7 months ago (2016-05-19 10:02:32 UTC) #3
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1995993002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1995993002/20001
4 years, 7 months ago (2016-05-19 10:02:49 UTC) #5
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_rel on tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/linux_rel/builds/15243)
4 years, 7 months ago (2016-05-19 10:11:24 UTC) #8
tommi
Replace dcheck with comment.
4 years, 7 months ago (2016-05-19 10:16:09 UTC) #9
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1995993002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1995993002/40001
4 years, 7 months ago (2016-05-19 10:16:29 UTC) #11
tommi
Rearrange code so that code that needs to be public, is public and static functions ...
4 years, 7 months ago (2016-05-19 10:41:26 UTC) #12
tommi
Make globals anonymous and codecs_ const
4 years, 7 months ago (2016-05-19 11:07:10 UTC) #13
tommi
Change debug_name_ to be const char*, remove unused method and rename the other to for_testing
4 years, 7 months ago (2016-05-19 11:12:53 UTC) #14
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1995993002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1995993002/100001
4 years, 7 months ago (2016-05-19 11:57:15 UTC) #16
tommi
4 years, 7 months ago (2016-05-19 11:57:53 UTC) #17
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 7 months ago (2016-05-19 14:16:58 UTC) #22
Taylor Brandstetter
lgtm with nits. I was just about to upload effectively the same CL, but yours ...
4 years, 7 months ago (2016-05-19 15:53:13 UTC) #23
tommi
Remove thread checker and add {}'s.
4 years, 7 months ago (2016-05-19 16:54:07 UTC) #24
tommi
https://codereview.webrtc.org/1995993002/diff/100001/webrtc/media/sctp/sctpdataengine.cc File webrtc/media/sctp/sctpdataengine.cc (right): https://codereview.webrtc.org/1995993002/diff/100001/webrtc/media/sctp/sctpdataengine.cc#newcode308 webrtc/media/sctp/sctpdataengine.cc:308: if (!g_usrsctp_usage_count) On 2016/05/19 15:53:13, Taylor Brandstetter wrote: > ...
4 years, 7 months ago (2016-05-19 16:54:12 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1995993002/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1995993002/120001
4 years, 7 months ago (2016-05-19 16:54:29 UTC) #28
commit-bot: I haz the power
Patchset 4 (id:??) landed as https://crrev.com/7d01331eca13c620b3e6fa118c022438568f64b1 Cr-Commit-Position: refs/heads/master@{#12816}
4 years, 7 months ago (2016-05-19 17:59:00 UTC) #30
tommi
4 years, 7 months ago (2016-05-19 17:59:02 UTC) #32
Message was sent while issue was closed.
Committed patchset #4 (id:120001) manually as
7d01331eca13c620b3e6fa118c022438568f64b1 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698