summaryrefslogtreecommitdiff
path: root/payload_consumer/file_descriptor_utils.cc
diff options
context:
space:
mode:
authorAmin Hassani <ahassani@google.com>2017-08-31 14:09:15 -0700
committerchrome-bot <chrome-bot@chromium.org>2017-09-25 15:52:39 -0700
commitee6d9a1067175ab94de080feaf4db937eda43442 (patch)
treec466f5854abe0d32d6e286d84f4a298669828036 /payload_consumer/file_descriptor_utils.cc
parentcd7edbe3eeff0b4379649eea8308c325882407ff (diff)
update_engine: Add ExtentReader
Currently Each operation in DeltaPerformer has the responsibility of reading from the source device by itself. Adding an ExtentReader (similar to ExtentWriter) aggregates all these responsibilities on DeltaPerformer.source_fd_. This simplifies the design as each operation does not need to invent is own open/read/close etc. This specially will be used in conjunction with bspatch and puffin. BUG=chromium:761138 TEST=FEATURES="test" emerge-amd64-generic update_engine; Change-Id: I2c7a21a02bd1df06bbaa7ebf374a13f654768721 Reviewed-on: https://chromium-review.googlesource.com/651336 Commit-Ready: Amin Hassani <ahassani@chromium.org> Tested-by: Amin Hassani <ahassani@chromium.org> Reviewed-by: Andrew de los Reyes <adlr@chromium.org> Reviewed-by: Sen Jiang <senj@chromium.org>
Diffstat (limited to 'payload_consumer/file_descriptor_utils.cc')
0 files changed, 0 insertions, 0 deletions