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

Issue 1156993003: Fix argument processing for RandomAccessFile.writeFrom (Closed)

Created:
5 years, 7 months ago by Søren Gjesse
Modified:
4 years, 4 months ago
CC:
reviews_dartlang.org
Base URL:
https://github.com/dart-lang/sdk.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Fix argument processing for RandomAccessFile.writeFrom It is now the same as for RandomAccessFile.writeFromSync Added some tests. R=lrn@google.com BUG=http://dartbug.com/23521 Committed: https://github.com/dart-lang/sdk/commit/897d05b6f0a80c7ba6933a059018184b724f5316

Patch Set 1 #

Patch Set 2 : Removed async from sync function #

Total comments: 4

Patch Set 3 : Addressed review comments #

Total comments: 1

Patch Set 4 : Addressed review comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+140 lines, -36 lines) Patch
M sdk/lib/io/file.dart View 1 2 4 chunks +5 lines, -4 lines 0 comments Download
M sdk/lib/io/file_impl.dart View 1 2 3 5 chunks +28 lines, -32 lines 0 comments Download
M tests/standalone/io/file_test.dart View 1 2 2 chunks +107 lines, -0 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
Søren Gjesse
5 years, 7 months ago (2015-05-26 10:29:10 UTC) #1
Lasse Reichstein Nielsen
https://codereview.chromium.org/1156993003/diff/20001/sdk/lib/io/file_impl.dart File sdk/lib/io/file_impl.dart (right): https://codereview.chromium.org/1156993003/diff/20001/sdk/lib/io/file_impl.dart#newcode359 sdk/lib/io/file_impl.dart:359: return _IOService._dispatch(_FILE_LENGTH_FROM_PATH, [path]).then((response) { While you are here: Long ...
5 years, 7 months ago (2015-05-26 11:20:12 UTC) #2
Søren Gjesse
Thanks Lasse, PTAL https://codereview.chromium.org/1156993003/diff/20001/sdk/lib/io/file_impl.dart File sdk/lib/io/file_impl.dart (right): https://codereview.chromium.org/1156993003/diff/20001/sdk/lib/io/file_impl.dart#newcode359 sdk/lib/io/file_impl.dart:359: return _IOService._dispatch(_FILE_LENGTH_FROM_PATH, [path]).then((response) { On 2015/05/26 ...
5 years, 7 months ago (2015-05-26 14:51:15 UTC) #3
Lasse Reichstein Nielsen
lgtm https://codereview.chromium.org/1156993003/diff/40001/sdk/lib/io/file_impl.dart File sdk/lib/io/file_impl.dart (right): https://codereview.chromium.org/1156993003/diff/40001/sdk/lib/io/file_impl.dart#newcode767 sdk/lib/io/file_impl.dart:767: if ((buffer is !List && buffer is !ByteData) ...
5 years, 7 months ago (2015-05-26 19:48:40 UTC) #4
Søren Gjesse
5 years, 7 months ago (2015-05-27 08:01:29 UTC) #5
Message was sent while issue was closed.
Committed patchset #4 (id:60001) manually as
897d05b6f0a80c7ba6933a059018184b724f5316 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698