net: FileStream cleanup
commit633ff3b105c336337f8b4f37627e6df59b4bcf42
authorrvargas@chromium.org <rvargas@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Fri, 20 Jun 2014 23:30:18 +0000 (20 23:30 +0000)
committerrvargas@chromium.org <rvargas@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Fri, 20 Jun 2014 23:30:18 +0000 (20 23:30 +0000)
tree6f2547053b826461a2f00541db12eb5f19003982
parent2e531f7c26d0d9e2aa0cced17a35eea6687dc58c
net: FileStream cleanup

Remove old "Async" prefix from a time when FileStream could perform sync
operations, and use base::File methods instead of reimplement them.

Remove a TODO from native_message_process_host given that we decided it is
not worth moving that functionality to FileStream ATM.

BUG=322664
TBR=sergeyu@chromium.org, kinuko@chromium.org
R=hashimoto@chromium.org

Review URL: https://codereview.chromium.org/323683002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@278857 0039d316-1c4b-4281-b951-d872f2087c98
21 files changed:
base/files/file_posix.cc
base/files/file_unittest.cc
base/files/file_win.cc
chrome/browser/chromeos/drive/local_file_reader.cc
chrome/browser/extensions/api/messaging/native_message_process_host.cc
chrome/browser/extensions/api/messaging/native_message_process_host.h
net/base/file_stream.cc
net/base/file_stream.h
net/base/file_stream_context.cc
net/base/file_stream_context.h
net/base/file_stream_context_posix.cc
net/base/file_stream_context_win.cc
net/base/file_stream_unittest.cc
net/base/file_stream_whence.h [deleted file]
net/base/mock_file_stream.cc
net/base/mock_file_stream.h
net/base/upload_file_element_reader.cc
net/net.gypi
net/url_request/url_request_file_job.cc
webkit/browser/blob/local_file_stream_reader.cc
webkit/browser/fileapi/local_file_stream_writer.cc