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

Issue 1799233002: SSLCertificate::GetChain: Return scoped_ptr (Closed)

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

Description

SSLCertificate::GetChain: Return scoped_ptr Instead of using a raw pointer output parameter. This is a good idea in general, but will also be very convenient when scoped_ptr is gone, since unique_ptr doesn't have an .accept() method. BUG=webrtc:5520 Committed: https://crrev.com/f5d47860805e37a1e99a478ab7cd33a77ba9007b Cr-Commit-Position: refs/heads/master@{#12004}

Patch Set 1 #

Total comments: 2

Patch Set 2 : No auto #

Unified diffs Side-by-side diffs Delta from patch set Stats (+15 lines, -16 lines) Patch
M webrtc/api/statscollector.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M webrtc/base/fakesslidentity.h View 1 1 chunk +4 lines, -4 lines 0 comments Download
M webrtc/base/opensslidentity.h View 1 chunk +1 line, -1 line 0 comments Download
M webrtc/base/opensslidentity.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M webrtc/base/sslidentity.h View 2 chunks +4 lines, -3 lines 0 comments Download
M webrtc/base/sslstreamadapter_unittest.cc View 2 chunks +2 lines, -4 lines 0 comments Download

Messages

Total messages: 13 (4 generated)
kwiberg-webrtc
Do I need to provide backwards compatibility for out-of-tree callers? I've compiled Chromium locally against ...
4 years, 9 months ago (2016-03-15 05:55:47 UTC) #2
torbjorng (webrtc)
lgtm (A code search suggests that the only caller in WebRTC/Chromium is in webrtc/api/statscollector.cc.)
4 years, 9 months ago (2016-03-15 09:12:40 UTC) #3
tommi
Can you check Chrome? https://codereview.webrtc.org/1799233002/diff/1/webrtc/base/fakesslidentity.h File webrtc/base/fakesslidentity.h (right): https://codereview.webrtc.org/1799233002/diff/1/webrtc/base/fakesslidentity.h#newcode76 webrtc/base/fakesslidentity.h:76: auto chain = rtc::scoped_ptr<SSLCertChain>(new SSLCertChain(new_certs)); ...
4 years, 9 months ago (2016-03-15 09:26:55 UTC) #4
kwiberg-webrtc
https://codereview.webrtc.org/1799233002/diff/1/webrtc/base/fakesslidentity.h File webrtc/base/fakesslidentity.h (right): https://codereview.webrtc.org/1799233002/diff/1/webrtc/base/fakesslidentity.h#newcode76 webrtc/base/fakesslidentity.h:76: auto chain = rtc::scoped_ptr<SSLCertChain>(new SSLCertChain(new_certs)); On 2016/03/15 09:26:55, tommi-webrtc ...
4 years, 9 months ago (2016-03-15 10:06:39 UTC) #5
kwiberg-webrtc
On 2016/03/15 09:26:55, tommi-webrtc wrote: > Can you check Chrome? Already did. (I compiled Chrome ...
4 years, 9 months ago (2016-03-15 10:08:50 UTC) #6
tommi
lgtm
4 years, 9 months ago (2016-03-15 15:27:05 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1799233002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1799233002/20001
4 years, 9 months ago (2016-03-15 18:08:15 UTC) #10
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 9 months ago (2016-03-15 19:53:30 UTC) #11
commit-bot: I haz the power
4 years, 9 months ago (2016-03-15 19:53:38 UTC) #13
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/f5d47860805e37a1e99a478ab7cd33a77ba9007b
Cr-Commit-Position: refs/heads/master@{#12004}

Powered by Google App Engine
This is Rietveld 408576698