mandoline: Start cleaning up the filesystem code.
commit6ea999282bb2b28631bb699d062d6139c221fbba
authorElliot Glaysher <erg@chromium.org>
Thu, 21 May 2015 19:29:07 +0000 (21 12:29 -0700)
committerElliot Glaysher <erg@chromium.org>
Thu, 21 May 2015 19:30:34 +0000 (21 19:30 +0000)
treeebe1d656a2bbe3ccf32f2b8ef512b10749813462
parent0f1990b030df3424e56f88030ad46a24abde9a71
mandoline: Start cleaning up the filesystem code.

This does mostly mechanical changes to the filesystem code, as the
previous fork patch did the absolute minimum to get the code to compile
in the chromium repository. Namespaces are fixed up, include guards are
corrected, and a few functions that were cross platform were moved into
the generic util.{cc,h} file. It also renames Files to FileSystem because
having File and Files as class names is confusing.

BUG=490237
R=sky@chromium.org

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

Cr-Commit-Position: refs/heads/master@{#330954}
23 files changed:
components/filesystem/BUILD.gn
components/filesystem/OWNERS [new file with mode: 0644]
components/filesystem/directory_impl.cc
components/filesystem/directory_impl.h
components/filesystem/directory_impl_unittest.cc
components/filesystem/file_impl.cc
components/filesystem/file_impl.h
components/filesystem/file_impl_unittest.cc
components/filesystem/file_system_impl.cc [moved from components/filesystem/files_impl.cc with 83% similarity]
components/filesystem/file_system_impl.h [moved from components/filesystem/files_impl.h with 53% similarity]
components/filesystem/files_test_base.cc
components/filesystem/files_test_base.h
components/filesystem/futimens.h
components/filesystem/main.cc
components/filesystem/public/interfaces/BUILD.gn
components/filesystem/public/interfaces/directory.mojom
components/filesystem/public/interfaces/file.mojom
components/filesystem/public/interfaces/file_system.mojom [moved from components/filesystem/public/interfaces/files.mojom with 92% similarity]
components/filesystem/public/interfaces/types.mojom
components/filesystem/shared_impl.cc
components/filesystem/shared_impl.h
components/filesystem/util.cc
components/filesystem/util.h