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

Issue 2735523002: Make StunMessage::attrs_ a vector of unique_ptrs instead of a pointer to a vector of pointers. (Closed)

Created:
3 years, 9 months ago by Zach Stein
Modified:
3 years, 9 months ago
CC:
webrtc-reviews_webrtc.org, tterriberry_mozilla.com
Target Ref:
refs/heads/master
Project:
webrtc
Visibility:
Public.

Description

Replace StunMessage's vector<StunAttribute*>* with a vector<unique_ptr<StunAttribute>> as suggested in a TODO. BUG=NONE Review-Url: https://codereview.webrtc.org/2735523002 Cr-Commit-Position: refs/heads/master@{#17076} Committed: https://chromium.googlesource.com/external/webrtc/+/ad94c4c5d9e3e3766a80e32551c877878049e1d3

Patch Set 1 #

Total comments: 1

Patch Set 2 : Add a comment to update StunMessage::AddAttribute to take a unique_ptr. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+15 lines, -20 lines) Patch
M webrtc/p2p/base/stun.h View 1 3 chunks +3 lines, -2 lines 0 comments Download
M webrtc/p2p/base/stun.cc View 6 chunks +12 lines, -18 lines 0 comments Download

Messages

Total messages: 17 (13 generated)
Zach Stein
3 years, 9 months ago (2017-03-04 06:53:43 UTC) #7
Taylor Brandstetter
lgtm https://codereview.webrtc.org/2735523002/diff/1/webrtc/p2p/base/stun.cc File webrtc/p2p/base/stun.cc (right): https://codereview.webrtc.org/2735523002/diff/1/webrtc/p2p/base/stun.cc#newcode69 webrtc/p2p/base/stun.cc:69: void StunMessage::AddAttribute(StunAttribute* attr) { Could you also change ...
3 years, 9 months ago (2017-03-06 18:25:40 UTC) #8
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/2735523002/20001
3 years, 9 months ago (2017-03-06 20:53:32 UTC) #14
commit-bot: I haz the power
3 years, 9 months ago (2017-03-06 21:36:11 UTC) #17
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/external/webrtc/+/ad94c4c5d9e3e3766a80e3255...

Powered by Google App Engine
This is Rietveld 408576698