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

Issue 22673003: Replace EntryArraySync type by an EntrySync[] (Closed)

Created:
7 years, 4 months ago by do-not-use
Modified:
7 years, 4 months ago
Reviewers:
haraken, kinuko, tkent
CC:
blink-reviews, dglazkov+blink, eae+blinkwatch, lgombos
Visibility:
Public.

Description

Replace EntryArraySync type by an EntrySync[] Replace EntryArraySync type by an EntrySync[] to match the specification: http://www.w3.org/TR/file-system-api/#widl-DirectoryReaderSync-readEntries-EntrySync As a consequence, regular JavaScript Array methods can now be used. There is no longer an item() method exposed but developers usually access items using [] operator. BUG=268356 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=155869

Patch Set 1 #

Patch Set 2 : Add copyright #

Total comments: 3

Patch Set 3 : Remove useless forward declarations #

Patch Set 4 : Use traits classes to simplify the code #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+54 lines, -184 lines) Patch
M LayoutTests/fast/filesystem/resources/sync-operations.js View 1 chunk +3 lines, -1 line 0 comments Download
M LayoutTests/fast/filesystem/workers/sync-operations-expected.txt View 1 chunk +2 lines, -0 lines 0 comments Download
M Source/modules/filesystem/DirectoryReaderSync.h View 2 chunks +5 lines, -2 lines 0 comments Download
M Source/modules/filesystem/DirectoryReaderSync.cpp View 2 chunks +3 lines, -4 lines 0 comments Download
M Source/modules/filesystem/DirectoryReaderSync.idl View 1 chunk +1 line, -1 line 0 comments Download
D Source/modules/filesystem/EntryArraySync.h View 1 chunk +0 lines, -66 lines 0 comments Download
D Source/modules/filesystem/EntryArraySync.cpp View 1 chunk +0 lines, -58 lines 0 comments Download
D Source/modules/filesystem/EntryArraySync.idl View 1 chunk +0 lines, -36 lines 0 comments Download
M Source/modules/filesystem/SyncCallbackHelper.h View 1 2 3 9 chunks +40 lines, -13 lines 2 comments Download
M Source/modules/modules.gypi View 2 chunks +0 lines, -3 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
do-not-use
7 years, 4 months ago (2013-08-08 08:47:56 UTC) #1
kinuko
Looks good, a few nits and one question. https://codereview.chromium.org/22673003/diff/4001/Source/modules/filesystem/SyncCallbackHelper.h File Source/modules/filesystem/SyncCallbackHelper.h (right): https://codereview.chromium.org/22673003/diff/4001/Source/modules/filesystem/SyncCallbackHelper.h#newcode54 Source/modules/filesystem/SyncCallbackHelper.h:54: class ...
7 years, 4 months ago (2013-08-08 11:39:19 UTC) #2
do-not-use
On 2013/08/08 11:39:19, kinuko wrote: > Looks good, a few nits and one question. > ...
7 years, 4 months ago (2013-08-08 14:21:03 UTC) #3
do-not-use
On 2013/08/08 11:39:19, kinuko wrote: > Looks good, a few nits and one question. > ...
7 years, 4 months ago (2013-08-08 18:48:43 UTC) #4
kinuko
Looks nicer, thanks! lgtm https://codereview.chromium.org/22673003/diff/13001/Source/modules/filesystem/SyncCallbackHelper.h File Source/modules/filesystem/SyncCallbackHelper.h (right): https://codereview.chromium.org/22673003/diff/13001/Source/modules/filesystem/SyncCallbackHelper.h#newcode53 Source/modules/filesystem/SyncCallbackHelper.h:53: struct HelperResultType { nit: these ...
7 years, 4 months ago (2013-08-09 02:15:54 UTC) #5
do-not-use
https://codereview.chromium.org/22673003/diff/13001/Source/modules/filesystem/SyncCallbackHelper.h File Source/modules/filesystem/SyncCallbackHelper.h (right): https://codereview.chromium.org/22673003/diff/13001/Source/modules/filesystem/SyncCallbackHelper.h#newcode53 Source/modules/filesystem/SyncCallbackHelper.h:53: struct HelperResultType { On 2013/08/09 02:15:54, kinuko wrote: > ...
7 years, 4 months ago (2013-08-09 06:39:21 UTC) #6
kinuko
On 2013/08/09 06:39:21, Christophe Dumez wrote: > https://codereview.chromium.org/22673003/diff/13001/Source/modules/filesystem/SyncCallbackHelper.h > File Source/modules/filesystem/SyncCallbackHelper.h (right): > > https://codereview.chromium.org/22673003/diff/13001/Source/modules/filesystem/SyncCallbackHelper.h#newcode53 ...
7 years, 4 months ago (2013-08-09 06:47:31 UTC) #7
tkent
lgtm
7 years, 4 months ago (2013-08-09 06:48:47 UTC) #8
kinuko
On 2013/08/09 06:47:31, kinuko wrote: > On 2013/08/09 06:39:21, Christophe Dumez wrote: > > > ...
7 years, 4 months ago (2013-08-09 06:50:56 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ch.dumez@sisa.samsung.com/22673003/13001
7 years, 4 months ago (2013-08-09 18:07:13 UTC) #10
commit-bot: I haz the power
7 years, 4 months ago (2013-08-09 20:52:11 UTC) #11
Message was sent while issue was closed.
Change committed as 155869

Powered by Google App Engine
This is Rietveld 408576698