On other platforms attempting to open the directory as a file to then call Flush on it doesn't make sense, and in fact might cause this method to always fail on windows.
Bug: 732863 Change-Id: I314d6e3f59ef2200b6accffe1f292bf2dfd3e40c Reviewed-on: https://chromium-review.googlesource.com/538078
0c2987e Only implement DirectoryImpl::Flush on non-windows platforms.
components/filesystem/directory_impl.cc | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)