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

Issue 377713004: Support packed arrays of booleans in Mojo messages (Closed)

Created:
6 years, 5 months ago by hansmuller
Modified:
6 years, 5 months ago
Project:
chromium
Visibility:
Public.

Description

Support packed arrays of booleans in Mojo messages BUG=390949 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=282182

Patch Set 1 #

Total comments: 3

Patch Set 2 : Renamed ArrayOfBool to ArrayOfBoolArrayPointers #

Total comments: 1

Patch Set 3 : Simplified Decoder.prototype.decodeBoolArray() #

Unified diffs Side-by-side diffs Delta from patch set Stats (+74 lines, -7 lines) Patch
M mojo/bindings/js/codec_unittests.js View 3 chunks +9 lines, -3 lines 0 comments Download
M mojo/public/interfaces/bindings/tests/sample_service.mojom View 1 chunk +1 line, -0 lines 0 comments Download
M mojo/public/js/bindings/codec.js View 1 2 6 chunks +58 lines, -4 lines 0 comments Download
M mojo/public/tools/bindings/generators/mojom_js_generator.py View 1 3 chunks +6 lines, -0 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
hansmuller
A boolean array is encoded with its logical size (number of bool elements) since that ...
6 years, 5 months ago (2014-07-07 21:43:00 UTC) #1
Matt Perry
https://codereview.chromium.org/377713004/diff/1/mojo/public/interfaces/bindings/tests/sample_service.mojom File mojo/public/interfaces/bindings/tests/sample_service.mojom (right): https://codereview.chromium.org/377713004/diff/1/mojo/public/interfaces/bindings/tests/sample_service.mojom#newcode41 mojo/public/interfaces/bindings/tests/sample_service.mojom:41: bool[][] array_of_array_of_bools@12; What do we do for this case? ...
6 years, 5 months ago (2014-07-07 22:45:45 UTC) #2
hansmuller
On 2014/07/07 22:45:45, Matt Perry wrote: > https://codereview.chromium.org/377713004/diff/1/mojo/public/interfaces/bindings/tests/sample_service.mojom > File mojo/public/interfaces/bindings/tests/sample_service.mojom (right): > > https://codereview.chromium.org/377713004/diff/1/mojo/public/interfaces/bindings/tests/sample_service.mojom#newcode41 ...
6 years, 5 months ago (2014-07-07 23:59:40 UTC) #3
Matt Perry
On 2014/07/07 23:59:40, hansmuller wrote: > On 2014/07/07 22:45:45, Matt Perry wrote: > > > ...
6 years, 5 months ago (2014-07-08 00:48:27 UTC) #4
hansmuller
On 2014/07/08 00:48:27, Matt Perry wrote: > On 2014/07/07 23:59:40, hansmuller wrote: > > On ...
6 years, 5 months ago (2014-07-08 01:12:06 UTC) #5
abarth-chromium
https://codereview.chromium.org/377713004/diff/20001/mojo/public/js/bindings/codec.js File mojo/public/js/bindings/codec.js (right): https://codereview.chromium.org/377713004/diff/20001/mojo/public/js/bindings/codec.js#newcode237 mojo/public/js/bindings/codec.js:237: var bits = new Uint8Array(bitsLength); You should be able ...
6 years, 5 months ago (2014-07-08 02:00:33 UTC) #6
hansmuller
On 2014/07/08 02:00:33, abarth wrote: > https://codereview.chromium.org/377713004/diff/20001/mojo/public/js/bindings/codec.js > File mojo/public/js/bindings/codec.js (right): > > https://codereview.chromium.org/377713004/diff/20001/mojo/public/js/bindings/codec.js#newcode237 > ...
6 years, 5 months ago (2014-07-08 15:30:49 UTC) #7
Matt Perry
On 2014/07/08 01:12:06, hansmuller wrote: > On 2014/07/08 00:48:27, Matt Perry wrote: > > On ...
6 years, 5 months ago (2014-07-08 18:04:00 UTC) #8
Matt Perry
lgtm
6 years, 5 months ago (2014-07-09 19:32:35 UTC) #9
hansmuller
The CQ bit was checked by hansmuller@chromium.org
6 years, 5 months ago (2014-07-09 20:14:50 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/hansmuller@chromium.org/377713004/40001
6 years, 5 months ago (2014-07-09 20:17:50 UTC) #11
commit-bot: I haz the power
6 years, 5 months ago (2014-07-10 00:06:24 UTC) #12
Message was sent while issue was closed.
Change committed as 282182

Powered by Google App Engine
This is Rietveld 408576698