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

Issue 253923002: Fix InMemoryUrlProtocol available_bytes computation. (Closed)

Created:
6 years, 7 months ago by acolwell GONE FROM CHROMIUM
Modified:
6 years, 7 months ago
CC:
chromium-reviews, feature-media-reviews_chromium.org
Visibility:
Public.

Description

Fix InMemoryUrlProtocol available_bytes computation. Fixed available_bytes computation to properly handle large buffers and add defensive logic to Read() to protect against negative sizes. BUG=364065 TESTS=InMemoryUrlProtocolTest.* Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=267280

Patch Set 1 #

Total comments: 5

Patch Set 2 : Address CR comments #

Patch Set 3 : Fix Android build buster. #

Patch Set 4 : Exclude unittest on Android #

Unified diffs Side-by-side diffs Delta from patch set Stats (+66 lines, -3 lines) Patch
M media/filters/in_memory_url_protocol.cc View 2 chunks +11 lines, -3 lines 0 comments Download
A media/filters/in_memory_url_protocol_unittest.cc View 1 1 chunk +51 lines, -0 lines 0 comments Download
M media/media.gyp View 1 2 3 3 chunks +4 lines, -0 lines 0 comments Download

Messages

Total messages: 18 (0 generated)
acolwell GONE FROM CHROMIUM
6 years, 7 months ago (2014-04-28 23:16:14 UTC) #1
scherkus (not reviewing)
lgtm w/ nits https://codereview.chromium.org/253923002/diff/1/media/filters/in_memory_url_protocol_unittest.cc File media/filters/in_memory_url_protocol_unittest.cc (right): https://codereview.chromium.org/253923002/diff/1/media/filters/in_memory_url_protocol_unittest.cc#newcode13 media/filters/in_memory_url_protocol_unittest.cc:13: class InMemoryUrlProtocolTest : public testing::Test { ...
6 years, 7 months ago (2014-04-29 17:49:34 UTC) #2
acolwell GONE FROM CHROMIUM
https://codereview.chromium.org/253923002/diff/1/media/filters/in_memory_url_protocol_unittest.cc File media/filters/in_memory_url_protocol_unittest.cc (right): https://codereview.chromium.org/253923002/diff/1/media/filters/in_memory_url_protocol_unittest.cc#newcode13 media/filters/in_memory_url_protocol_unittest.cc:13: class InMemoryUrlProtocolTest : public testing::Test { On 2014/04/29 17:49:34, ...
6 years, 7 months ago (2014-04-29 22:46:04 UTC) #3
acolwell GONE FROM CHROMIUM
The CQ bit was checked by acolwell@chromium.org
6 years, 7 months ago (2014-04-29 22:46:08 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/acolwell@chromium.org/253923002/20001
6 years, 7 months ago (2014-04-29 22:49:14 UTC) #5
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-04-29 22:57:57 UTC) #6
commit-bot: I haz the power
Try jobs failed on following builders: android_clang_dbg on tryserver.chromium
6 years, 7 months ago (2014-04-29 22:57:57 UTC) #7
acolwell GONE FROM CHROMIUM
The CQ bit was checked by acolwell@chromium.org
6 years, 7 months ago (2014-04-29 23:09:46 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/acolwell@chromium.org/253923002/40001
6 years, 7 months ago (2014-04-29 23:14:00 UTC) #9
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-04-29 23:32:38 UTC) #10
commit-bot: I haz the power
Try jobs failed on following builders: android_clang_dbg on tryserver.chromium
6 years, 7 months ago (2014-04-29 23:32:39 UTC) #11
acolwell GONE FROM CHROMIUM
The CQ bit was checked by acolwell@chromium.org
6 years, 7 months ago (2014-04-29 23:57:23 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/acolwell@chromium.org/253923002/60001
6 years, 7 months ago (2014-04-29 23:58:35 UTC) #13
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-04-30 00:59:29 UTC) #14
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel on tryserver.chromium
6 years, 7 months ago (2014-04-30 00:59:30 UTC) #15
acolwell GONE FROM CHROMIUM
The CQ bit was checked by acolwell@chromium.org
6 years, 7 months ago (2014-04-30 16:26:39 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/acolwell@chromium.org/253923002/60001
6 years, 7 months ago (2014-04-30 16:27:01 UTC) #17
commit-bot: I haz the power
6 years, 7 months ago (2014-04-30 18:56:23 UTC) #18
Message was sent while issue was closed.
Change committed as 267280

Powered by Google App Engine
This is Rietveld 408576698