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

Issue 1745033002: Added an operator[] to Buffer, to make reading data easier. (Closed)

Created:
4 years, 9 months ago by ossu
Modified:
4 years, 9 months ago
Reviewers:
tommi, kwiberg-webrtc
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

Added an operator[] to Buffer, to make reading data easier. Committed: https://crrev.com/b9338ac62b9a8a64568a62ad9ae4f2f7c3f732ca Cr-Commit-Position: refs/heads/master@{#11819}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Added DCHECKs for index against size_ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+49 lines, -0 lines) Patch
M webrtc/base/buffer.h View 1 1 chunk +10 lines, -0 lines 0 comments Download
M webrtc/base/buffer_unittest.cc View 1 chunk +39 lines, -0 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 15 (6 generated)
ossu
By popular request: a small addition to Buffer. :)
4 years, 9 months ago (2016-02-29 12:19:57 UTC) #2
kwiberg-webrtc
lgtm, but see comment https://codereview.webrtc.org/1745033002/diff/1/webrtc/base/buffer.h File webrtc/base/buffer.h (right): https://codereview.webrtc.org/1745033002/diff/1/webrtc/base/buffer.h#newcode128 webrtc/base/buffer.h:128: uint8_t operator[](size_t index) const { ...
4 years, 9 months ago (2016-02-29 12:40:46 UTC) #3
ossu
DCHECK it is! https://codereview.webrtc.org/1745033002/diff/1/webrtc/base/buffer.h File webrtc/base/buffer.h (right): https://codereview.webrtc.org/1745033002/diff/1/webrtc/base/buffer.h#newcode128 webrtc/base/buffer.h:128: uint8_t operator[](size_t index) const { return ...
4 years, 9 months ago (2016-02-29 12:48:53 UTC) #4
tommi
lgtm
4 years, 9 months ago (2016-02-29 13:10:08 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1745033002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1745033002/20001
4 years, 9 months ago (2016-02-29 13:10:11 UTC) #8
commit-bot: I haz the power
Try jobs failed on following builders: linux_ubsan_vptr on tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/linux_ubsan_vptr/builds/602)
4 years, 9 months ago (2016-02-29 13:42:09 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1745033002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1745033002/20001
4 years, 9 months ago (2016-02-29 16:03:26 UTC) #12
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 9 months ago (2016-02-29 17:36:42 UTC) #13
commit-bot: I haz the power
4 years, 9 months ago (2016-02-29 17:36:51 UTC) #15
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/b9338ac62b9a8a64568a62ad9ae4f2f7c3f732ca
Cr-Commit-Position: refs/heads/master@{#11819}

Powered by Google App Engine
This is Rietveld 408576698