commit | ccbd1ac9154d239ca358db92c50249222ac9a806 | [log] [tgz] |
---|---|---|
author | Arman Uguray <armansito@chromium.org> | Thu Jan 10 13:03:19 2013 -0800 |
committer | ChromeBot <chrome-bot@google.com> | Mon Jan 14 19:09:37 2013 -0800 |
tree | a7b026b2b11796a99793847deb6ef28846a0691d | |
parent | 16a9bfe54c315ead04bc6723d665d138c4330938 [diff] |
shill: Add FileReader class for reading lines from a file. This CL adds a file reader class for reading lines from a file. This will be useful to parse .bfd output generated from seviceproviders.xml. Implementation is copied from src/platform/cros-disks/file-reader.h/.cc. BUG=chromium-os:37670 TEST=Implementation is a copy of cros_disks::FileReader, which is known to work. Change-Id: Ief0941972443ea91d8405c42f0126005c9483bae Reviewed-on: https://gerrit.chromium.org/gerrit/41056 Reviewed-by: Thieu Le <thieule@chromium.org> Reviewed-by: Ben Chan <benchan@chromium.org> Commit-Queue: Arman Uguray <armansito@chromium.org> Tested-by: Arman Uguray <armansito@chromium.org>