History log of /external/webrtc/webrtc/base/array_view_unittest.cc
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
288886b2ec9a2dac730f115e9c3079d8439efe60 06-Nov-2015 kwiberg <kwiberg@webrtc.org> Pass audio to AudioEncoder::Encode() in an ArrayView

Instead of in separate pointer and size arguments.

Review URL: https://codereview.webrtc.org/1418423010

Cr-Commit-Position: refs/heads/master@{#10535}
/external/webrtc/webrtc/base/array_view_unittest.cc
e2a83eee7337e5a8244c7abacc552bf5ef344442 26-Oct-2015 Karl Wiberg <kwiberg@webrtc.org> Introduce rtc::ArrayView<T>, which keeps track of an array that it doesn't own

The main intended use case is as a function argument, replacing the
harder-to-read and harder-to-use separate pointer and size arguments.
It's easier to read because it's just one argument instead of two, and
with clearly defined semantics; it's easier to use because it has
iterators, and will automatically figure out the size of arrays.

BUG=webrtc:5028
R=andrew@webrtc.org, solenberg@webrtc.org

Review URL: https://codereview.webrtc.org/1408403002 .

Cr-Commit-Position: refs/heads/master@{#10415}
/external/webrtc/webrtc/base/array_view_unittest.cc