diff options
author | Alex Deymo <deymo@chromium.org> | 2015-08-03 20:23:03 -0700 |
---|---|---|
committer | ChromeOS Commit Bot <chromeos-commit-bot@chromium.org> | 2015-08-06 09:44:23 +0000 |
commit | b9e8e26f843bc66d862c8b1a86be4475cbecbc8c (patch) | |
tree | 8dd8dc96db12ae8a6dc1983c1b718764a8103e73 /payload_generator/blob_file_writer_unittest.cc | |
parent | f6ee0163504eaf1a7cc136ba2c075d77ae2b4dd5 (diff) |
update_engine: Use FileStream in FilesystemVerifierAction.
Instead of dealing manually with the read from the partition while
verifying the filesystem, this patch uses chromeos::FileStream to do
that.
The base::MessageLoopForIO can't wait on regular files because libevent
will fail when trying to watch for such file descriptor. While
chromeos::Stream will still attempt to wait on the file descriptor in
such situation, that will be fixed in chromeos::Streams in a different
CL.
BUG=chromium:499886
TEST=Unittests still pass.
Change-Id: Icd6a031ac1137b1b5746a5c3413506ece79223cc
Reviewed-on: https://chromium-review.googlesource.com/290542
Reviewed-by: Alex Deymo <deymo@chromium.org>
Commit-Queue: Alex Deymo <deymo@chromium.org>
Trybot-Ready: Alex Deymo <deymo@chromium.org>
Tested-by: Alex Deymo <deymo@chromium.org>
Diffstat (limited to 'payload_generator/blob_file_writer_unittest.cc')
0 files changed, 0 insertions, 0 deletions