mandoline filesystem: Pass raw file descriptors over mojo message pipes.
commitb9cc835bbdedd4898080ef955d51a269d08a1708
authorerg <erg@chromium.org>
Fri, 29 May 2015 19:22:34 +0000 (29 12:22 -0700)
committerCommit bot <commit-bot@chromium.org>
Fri, 29 May 2015 19:23:11 +0000 (29 19:23 +0000)
treee63504dfc48d77debf3ac4c56929afcdeec9c875
parent91e5098e362b4ccb38683d72a0d3c565eb360b00
mandoline filesystem: Pass raw file descriptors over mojo message pipes.

This adds an AsHandle() method to filesystem::File so we can do things
like pass file descriptors to sqlite.

BUG=490237

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

Cr-Commit-Position: refs/heads/master@{#332024}
components/filesystem/BUILD.gn
components/filesystem/DEPS
components/filesystem/directory_impl.cc
components/filesystem/directory_impl_unittest.cc
components/filesystem/file_impl.cc
components/filesystem/file_impl.h
components/filesystem/file_impl_unittest.cc
components/filesystem/public/interfaces/file.mojom