Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added a comment that File::IsValid can be called outside of file thread.
File::IsValid ends up calling either ScopedFS::is_valid() or win::ScopedHandle::is_valid() - both of these classes inherit is_valid() from ScopedGeneric, which implements is_valid() as a memory-only operation that don't touch the file system: bool is_valid() const { return data_.generic != traits_type::InvalidValue(); } BUG= Review URL: https://codereview.chromium.org/1409323005 Cr-Commit-Position: refs/heads/master@{#355402}
- Loading branch information