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

Issue 1539843004: Support some file operations in dart:io under mojo (Closed)

Created:
5 years ago by Cutch
Modified:
5 years ago
Reviewers:
vtl, zra, viettrungluu
CC:
mojo-reviews_chromium.org, gregsimon, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, abarth-chromium, Aaron Boodman, darin (slow to review), ben+mojo_chromium.org
Base URL:
git@github.com:domokit/mojo.git@master
Target Ref:
refs/heads/master
Project:
mojo
Visibility:
Public.

Description

Support some file operations in dart:io under mojo - Implement File.create and File.exists. - Implement Directory.create and Directory.exists. - Implement Directory.systemTemp and Directory.createTemp. - Fix existing directory logic bug in mojo:files service. - Unit tests for implemented functions. R=zra@google.com Committed: https://chromium.googlesource.com/external/mojo/+/2c2b5c8c073293b96cad529dcf8f28d58683fd24

Patch Set 1 #

Patch Set 2 : #

Total comments: 14

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+402 lines, -4 lines) Patch
M mojo/dart/embedder/io/file_patch.dart View 1 2 1 chunk +277 lines, -2 lines 0 comments Download
M mojo/dart/embedder/io/mojo_patch.dart View 1 2 4 chunks +61 lines, -1 line 0 comments Download
M services/dart/dart_apptests/BUILD.gn View 1 chunk +1 line, -0 lines 0 comments Download
M services/dart/dart_apptests/lib/main.dart View 2 chunks +2 lines, -0 lines 0 comments Download
A services/dart/dart_apptests/lib/src/file_apptests.dart View 1 1 chunk +60 lines, -0 lines 0 comments Download
M services/files/directory_impl.cc View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 11 (5 generated)
Cutch
5 years ago (2015-12-18 22:05:59 UTC) #4
viettrungluu
https://codereview.chromium.org/1539843004/diff/20001/services/files/directory_impl.cc File services/files/directory_impl.cc (right): https://codereview.chromium.org/1539843004/diff/20001/services/files/directory_impl.cc#newcode1 services/files/directory_impl.cc:1: // Copyright 2015 The Chromium Authors. All rights reserved. ...
5 years ago (2015-12-18 22:10:38 UTC) #6
zra
https://codereview.chromium.org/1539843004/diff/20001/mojo/dart/embedder/io/file_patch.dart File mojo/dart/embedder/io/file_patch.dart (right): https://codereview.chromium.org/1539843004/diff/20001/mojo/dart/embedder/io/file_patch.dart#newcode45 mojo/dart/embedder/io/file_patch.dart:45: await rootDirectory.ptr.openDirectory(_ensurePathIsRelative(path), For IPC calls deep in library implementations, ...
5 years ago (2015-12-18 22:51:46 UTC) #7
Cutch
https://codereview.chromium.org/1539843004/diff/20001/mojo/dart/embedder/io/file_patch.dart File mojo/dart/embedder/io/file_patch.dart (right): https://codereview.chromium.org/1539843004/diff/20001/mojo/dart/embedder/io/file_patch.dart#newcode45 mojo/dart/embedder/io/file_patch.dart:45: await rootDirectory.ptr.openDirectory(_ensurePathIsRelative(path), On 2015/12/18 22:51:46, zra wrote: > For ...
5 years ago (2015-12-18 23:05:20 UTC) #8
zra
lgtm
5 years ago (2015-12-18 23:11:59 UTC) #9
Cutch
5 years ago (2015-12-18 23:13:49 UTC) #11
Message was sent while issue was closed.
Committed patchset #3 (id:40001) manually as
2c2b5c8c073293b96cad529dcf8f28d58683fd24 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698