Chromium Code Reviews| Index: base/files/file.h |
| diff --git a/base/files/file.h b/base/files/file.h |
| index 1913bc7f6c408c8e1e3840da712895ff2fd88259..7753b6e8b3503ff48708671918a17afc6e8ed0d9 100644 |
| --- a/base/files/file.h |
| +++ b/base/files/file.h |
| @@ -285,6 +285,8 @@ class BASE_EXPORT File { |
| bool async() const { return async_; } |
| + uint32 flags() const { return flags_; } |
| + |
| #if defined(OS_WIN) |
| static Error OSErrorToFileError(DWORD last_error); |
| #elif defined(OS_POSIX) |
| @@ -306,6 +308,7 @@ class BASE_EXPORT File { |
| Error error_details_; |
| bool created_; |
| bool async_; |
| + uint32 flags_; |
| }; |
| } // namespace base |