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

Issue 1920043002: Replace scoped_ptr with unique_ptr in webrtc/base/ (Closed)

Created:
4 years, 7 months ago by joachim
Modified:
4 years, 7 months ago
Reviewers:
*tommi, kwiberg-webrtc
CC:
webrtc-reviews_webrtc.org, henrika_webrtc, zhengzhonghou_agora.io, tterriberry_mozilla.com, fengyue_agora.io, peah-webrtc, mflodman
Base URL:
https://chromium.googlesource.com/external/webrtc.git@master
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

Replace scoped_ptr with unique_ptr in webrtc/base/ This propagated into various other places. Also had to #include headers that were implicitly pulled by "scoped_ptr.h". BUG=webrtc:5520 Committed: https://crrev.com/555604a7463c6a6677f54aff340e7852a16b3c58 Cr-Commit-Position: refs/heads/master@{#12501}

Patch Set 1 #

Patch Set 2 : Fixes for compile errors. #

Total comments: 1

Patch Set 3 : git cl format #

Patch Set 4 : Rebased #

Unified diffs Side-by-side diffs Delta from patch set Stats (+512 lines, -433 lines) Patch
M talk/app/webrtc/objc/RTCPeerConnectionInterface.mm View 1 1 chunk +1 line, -2 lines 0 comments Download
M webrtc/api/dtlsidentitystore.h View 6 chunks +7 lines, -7 lines 0 comments Download
M webrtc/api/dtlsidentitystore.cc View 1 2 3 2 chunks +3 lines, -2 lines 0 comments Download
M webrtc/api/dtlsidentitystore_unittest.cc View 1 2 3 3 chunks +5 lines, -3 lines 0 comments Download
M webrtc/api/java/jni/peerconnection_jni.cc View 1 2 chunks +2 lines, -1 line 0 comments Download
M webrtc/api/objc/RTCConfiguration.mm View 1 2 chunks +3 lines, -1 line 0 comments Download
M webrtc/api/statscollector.cc View 4 chunks +4 lines, -6 lines 0 comments Download
M webrtc/api/statscollector_unittest.cc View 3 chunks +4 lines, -3 lines 0 comments Download
M webrtc/api/test/fakedtlsidentitystore.h View 2 chunks +2 lines, -1 line 0 comments Download
M webrtc/api/webrtcsession.h View 2 chunks +2 lines, -1 line 0 comments Download
M webrtc/api/webrtcsession.cc View 1 chunk +1 line, -1 line 0 comments Download
M webrtc/api/webrtcsession_unittest.cc View 2 chunks +2 lines, -1 line 0 comments Download
M webrtc/api/webrtcsessiondescriptionfactory.h View 2 chunks +3 lines, -1 line 0 comments Download
M webrtc/api/webrtcsessiondescriptionfactory.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M webrtc/base/asynctcpsocket.h View 2 chunks +3 lines, -2 lines 0 comments Download
M webrtc/base/asynctcpsocket.cc View 1 2 chunks +2 lines, -1 line 0 comments Download
M webrtc/base/asynctcpsocket_unittest.cc View 2 chunks +4 lines, -4 lines 0 comments Download
M webrtc/base/asyncudpsocket.h View 2 chunks +3 lines, -2 lines 0 comments Download
M webrtc/base/asyncudpsocket.cc View 1 chunk +1 line, -1 line 0 comments Download
M webrtc/base/asyncudpsocket_unittest.cc View 2 chunks +4 lines, -4 lines 0 comments Download
M webrtc/base/criticalsection_unittest.cc View 3 chunks +3 lines, -3 lines 0 comments Download
M webrtc/base/cryptstring.h View 1 2 3 chunks +6 lines, -6 lines 0 comments Download
M webrtc/base/dbus_unittest.cc View 8 chunks +10 lines, -8 lines 0 comments Download
M webrtc/base/diskcache.cc View 3 chunks +4 lines, -2 lines 0 comments Download
M webrtc/base/fakenetwork.h View 1 2 2 chunks +4 lines, -3 lines 0 comments Download
M webrtc/base/fakesslidentity.h View 2 chunks +3 lines, -2 lines 0 comments Download
M webrtc/base/filerotatingstream.h View 2 chunks +2 lines, -1 line 0 comments Download
M webrtc/base/filerotatingstream_unittest.cc View 11 chunks +15 lines, -13 lines 0 comments Download
M webrtc/base/fileutils.h View 1 chunk +0 lines, -1 line 0 comments Download
M webrtc/base/fileutils_unittest.cc View 2 chunks +3 lines, -1 line 0 comments Download
M webrtc/base/helpers.cc View 5 chunks +5 lines, -5 lines 0 comments Download
M webrtc/base/httpbase.cc View 1 2 2 chunks +3 lines, -3 lines 0 comments Download
M webrtc/base/httpclient.h View 2 chunks +3 lines, -2 lines 0 comments Download
M webrtc/base/httpclient.cc View 7 chunks +9 lines, -6 lines 0 comments Download
M webrtc/base/httpcommon.h View 2 chunks +2 lines, -2 lines 0 comments Download
M webrtc/base/httpserver.h View 2 chunks +3 lines, -1 line 0 comments Download
M webrtc/base/linux.h View 2 chunks +2 lines, -2 lines 0 comments Download
M webrtc/base/logging.cc View 1 chunk +0 lines, -1 line 0 comments Download
M webrtc/base/logsinks.h View 2 chunks +2 lines, -2 lines 0 comments Download
M webrtc/base/maccocoasocketserver_unittest.mm View 1 chunk +0 lines, -1 line 0 comments Download
M webrtc/base/macifaddrs_converter.cc View 3 chunks +3 lines, -2 lines 0 comments Download
M webrtc/base/macsocketserver_unittest.cc View 2 chunks +3 lines, -2 lines 0 comments Download
M webrtc/base/macutils.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M webrtc/base/messagedigest.cc View 9 chunks +12 lines, -11 lines 0 comments Download
M webrtc/base/messagehandler.h View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M webrtc/base/messagequeue.h View 1 2 4 chunks +6 lines, -5 lines 0 comments Download
M webrtc/base/multipart_unittest.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M webrtc/base/nat_unittest.cc View 1 2 6 chunks +24 lines, -23 lines 0 comments Download
M webrtc/base/natserver.cc View 2 chunks +3 lines, -1 line 0 comments Download
M webrtc/base/natsocketfactory.h View 2 chunks +3 lines, -2 lines 0 comments Download
M webrtc/base/natsocketfactory.cc View 1 chunk +1 line, -1 line 0 comments Download
M webrtc/base/nethelpers.cc View 2 chunks +3 lines, -1 line 0 comments Download
M webrtc/base/network.h View 4 chunks +4 lines, -4 lines 0 comments Download
M webrtc/base/network.cc View 1 2 7 chunks +10 lines, -10 lines 0 comments Download
M webrtc/base/network_unittest.cc View 2 chunks +2 lines, -1 line 0 comments Download
M webrtc/base/networkmonitor.h View 1 chunk +0 lines, -1 line 0 comments Download
M webrtc/base/onetimeevent.h View 1 chunk +0 lines, -1 line 0 comments Download
M webrtc/base/opensslidentity.h View 3 chunks +4 lines, -4 lines 0 comments Download
M webrtc/base/opensslidentity.cc View 3 chunks +4 lines, -2 lines 0 comments Download
M webrtc/base/opensslstreamadapter.h View 3 chunks +4 lines, -3 lines 0 comments Download
M webrtc/base/opensslstreamadapter.cc View 2 chunks +3 lines, -2 lines 0 comments Download
M webrtc/base/optional_unittest.cc View 2 chunks +3 lines, -2 lines 0 comments Download
M webrtc/base/optionsfile_unittest.cc View 2 chunks +3 lines, -1 line 0 comments Download
M webrtc/base/physicalsocketserver.h View 2 chunks +2 lines, -2 lines 0 comments Download
M webrtc/base/physicalsocketserver_unittest.cc View 7 chunks +12 lines, -12 lines 0 comments Download
M webrtc/base/platform_thread.h View 1 chunk +0 lines, -1 line 0 comments Download
M webrtc/base/platform_thread_unittest.cc View 1 chunk +0 lines, -1 line 0 comments Download
M webrtc/base/proxy_unittest.cc View 2 chunks +4 lines, -3 lines 0 comments Download
M webrtc/base/proxydetect.cc View 3 chunks +3 lines, -2 lines 0 comments Download
M webrtc/base/proxyserver.h View 3 chunks +4 lines, -3 lines 0 comments Download
M webrtc/base/rate_statistics.h View 2 chunks +3 lines, -2 lines 0 comments Download
M webrtc/base/referencecountedsingletonfactory.h View 2 chunks +4 lines, -3 lines 0 comments Download
M webrtc/base/rtccertificate.h View 3 chunks +5 lines, -3 lines 0 comments Download
M webrtc/base/rtccertificate.cc View 2 chunks +3 lines, -1 line 0 comments Download
M webrtc/base/rtccertificate_unittests.cc View 4 chunks +3 lines, -3 lines 0 comments Download
M webrtc/base/rtccertificategenerator.cc View 2 chunks +2 lines, -1 line 0 comments Download
M webrtc/base/rtccertificategenerator_unittest.cc View 2 chunks +4 lines, -3 lines 0 comments Download
M webrtc/base/scopedptrcollection_unittest.cc View 2 chunks +3 lines, -1 line 0 comments Download
M webrtc/base/sharedexclusivelock_unittest.cc View 3 chunks +4 lines, -3 lines 0 comments Download
M webrtc/base/signalthread_unittest.cc View 2 chunks +3 lines, -1 line 0 comments Download
M webrtc/base/socket_unittest.cc View 1 2 28 chunks +46 lines, -45 lines 0 comments Download
M webrtc/base/ssladapter_unittest.cc View 4 chunks +7 lines, -6 lines 0 comments Download
M webrtc/base/sslidentity.h View 2 chunks +2 lines, -2 lines 0 comments Download
M webrtc/base/sslidentity_unittest.cc View 4 chunks +8 lines, -7 lines 0 comments Download
M webrtc/base/sslsocketfactory.cc View 2 chunks +3 lines, -2 lines 0 comments Download
M webrtc/base/sslstreamadapter.h View 2 chunks +2 lines, -1 line 0 comments Download
M webrtc/base/sslstreamadapter_unittest.cc View 5 chunks +6 lines, -6 lines 0 comments Download
M webrtc/base/stream.h View 4 chunks +3 lines, -3 lines 0 comments Download
M webrtc/base/task.h View 1 chunk +0 lines, -1 line 0 comments Download
M webrtc/base/taskparent.h View 2 chunks +3 lines, -2 lines 0 comments Download
M webrtc/base/taskrunner.cc View 1 chunk +0 lines, -1 line 0 comments Download
M webrtc/base/testechoserver.h View 2 chunks +2 lines, -1 line 0 comments Download
M webrtc/base/testutils.h View 3 chunks +3 lines, -2 lines 0 comments Download
M webrtc/base/thread_checker_unittest.cc View 7 chunks +8 lines, -7 lines 0 comments Download
M webrtc/base/thread_unittest.cc View 1 2 2 chunks +7 lines, -6 lines 0 comments Download
M webrtc/base/virtualsocket_unittest.cc View 1 2 6 chunks +11 lines, -10 lines 0 comments Download
M webrtc/base/virtualsocketserver.cc View 2 chunks +2 lines, -1 line 0 comments Download
M webrtc/base/win32filesystem.cc View 4 chunks +5 lines, -4 lines 0 comments Download
M webrtc/base/win32regkey.cc View 4 chunks +5 lines, -4 lines 0 comments Download
M webrtc/base/windowpicker_unittest.cc View 3 chunks +4 lines, -2 lines 0 comments Download
M webrtc/base/x11windowpicker.h View 2 chunks +3 lines, -2 lines 0 comments Download
M webrtc/p2p/base/dtlstransportchannel.h View 3 chunks +3 lines, -3 lines 0 comments Download
M webrtc/p2p/base/dtlstransportchannel.cc View 2 chunks +2 lines, -1 line 0 comments Download
M webrtc/p2p/base/dtlstransportchannel_unittest.cc View 9 chunks +11 lines, -11 lines 0 comments Download
M webrtc/p2p/base/faketransportcontroller.h View 2 chunks +3 lines, -2 lines 0 comments Download
M webrtc/p2p/base/p2ptransportchannel.h View 1 chunk +1 line, -1 line 0 comments Download
M webrtc/p2p/base/packetsocketfactory.h View 1 chunk +1 line, -0 lines 0 comments Download
M webrtc/p2p/base/transport.h View 3 chunks +4 lines, -3 lines 0 comments Download
M webrtc/p2p/base/transport.cc View 2 chunks +2 lines, -1 line 0 comments Download
M webrtc/p2p/base/transportchannel.h View 2 chunks +2 lines, -1 line 0 comments Download
M webrtc/p2p/base/transportcontroller.h View 3 chunks +3 lines, -2 lines 0 comments Download
M webrtc/p2p/base/transportcontroller.cc View 3 chunks +4 lines, -3 lines 0 comments Download
M webrtc/p2p/base/transportcontroller_unittest.cc View 4 chunks +6 lines, -6 lines 0 comments Download
M webrtc/p2p/base/transportdescriptionfactory_unittest.cc View 1 2 12 chunks +34 lines, -37 lines 0 comments Download
M webrtc/pc/channel_unittest.cc View 2 chunks +3 lines, -3 lines 0 comments Download
M webrtc/pc/mediasession_unittest.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M webrtc/system_wrappers/source/event_timer_posix.h View 2 chunks +5 lines, -3 lines 0 comments Download

Messages

Total messages: 23 (9 generated)
joachim
I saw your discussion in the referenced bug, but as I already had a couple ...
4 years, 7 months ago (2016-04-25 22:01:31 UTC) #2
kwiberg-webrtc
lgtm, but please hold off landing this until after I've landed https://codereview.webrtc.org/1797463002/ (which in turn ...
4 years, 7 months ago (2016-04-25 22:37:33 UTC) #5
joachim
Thanks for the fast feedback! On 2016/04/25 22:37:33, kwiberg-webrtc wrote: > lgtm, but please hold ...
4 years, 7 months ago (2016-04-25 23:27:01 UTC) #6
tommi
Thanks for doing this. Please ping me back when you want to land.
4 years, 7 months ago (2016-04-26 07:41:13 UTC) #7
kwiberg-webrtc
On 2016/04/26 07:41:13, tommi-webrtc wrote: > Thanks for doing this. Please ping me back when ...
4 years, 7 months ago (2016-04-26 08:10:53 UTC) #8
tommi
lgtm
4 years, 7 months ago (2016-04-26 08:27:33 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1920043002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1920043002/40001
4 years, 7 months ago (2016-04-26 08:44:40 UTC) #12
commit-bot: I haz the power
Try jobs failed on following builders: mac_compile_dbg on tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/mac_compile_dbg/builds/4916)
4 years, 7 months ago (2016-04-26 08:49:18 UTC) #14
kwiberg-webrtc
On 2016/04/26 08:49:18, commit-bot: I haz the power wrote: > Try jobs failed on following ...
4 years, 7 months ago (2016-04-26 09:08:10 UTC) #15
joachim
On 2016/04/26 09:08:10, kwiberg-webrtc wrote: > On 2016/04/26 08:49:18, commit-bot: I haz the power wrote: ...
4 years, 7 months ago (2016-04-26 09:08:53 UTC) #16
kwiberg-webrtc
On 2016/04/26 09:08:53, joachim wrote: > On 2016/04/26 09:08:10, kwiberg-webrtc wrote: > > On 2016/04/26 ...
4 years, 7 months ago (2016-04-26 09:11:36 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1920043002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1920043002/60001
4 years, 7 months ago (2016-04-26 09:12:26 UTC) #20
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 7 months ago (2016-04-26 10:13:28 UTC) #21
commit-bot: I haz the power
4 years, 7 months ago (2016-04-26 10:13:37 UTC) #23
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/555604a7463c6a6677f54aff340e7852a16b3c58
Cr-Commit-Position: refs/heads/master@{#12501}

Powered by Google App Engine
This is Rietveld 408576698