Index: base/files/file.h |
diff --git a/base/files/file.h b/base/files/file.h |
index 7b6366c1c2edaa2c6ccb695f2f075ff83f0d002b..8648e93ffcebe28fccf3811ea9401359776b0a9c 100644 |
--- a/base/files/file.h |
+++ b/base/files/file.h |
@@ -128,9 +128,8 @@ class BASE_EXPORT File { |
// Used to hold information about a given file. |
// If you add more fields to this structure (platform-specific fields are OK), |
- // make sure to update all functions that use it in file_util_{win|posix}.cc |
- // too, and the ParamTraits<base::PlatformFileInfo> implementation in |
- // chrome/common/common_param_traits.cc. |
rvargas (doing something else)
2015/03/13 18:37:01
This is now ParamTraits<base::File::Info>... but I
Thiemo Nagel
2015/03/16 16:28:39
I couldn't find it and thought it had been removed
|
+ // make sure to update all functions that use it in file_util_{win|posix}.cc, |
+ // too. |
struct BASE_EXPORT Info { |
Info(); |
~Info(); |
@@ -142,10 +141,11 @@ class BASE_EXPORT File { |
// The size of the file in bytes. Undefined when is_directory is true. |
int64 size; |
- // True if the file corresponds to a directory. |
+ // True if the file corresponds to a directory. Always false on Windows. |
rvargas (doing something else)
2015/03/13 18:37:01
I don't think this is true.
rvargas (doing something else)
2015/03/13 18:44:20
To be clear, if the File points to a directory, Ge
Thiemo Nagel
2015/03/16 16:28:39
I thought you couldn't even open a directory in Wi
rvargas (doing something else)
2015/03/16 19:57:14
It requires File::Flags::FLAG_BACKUP_SEMANTICS (to
Thiemo Nagel
2015/03/17 19:48:35
I have overlooked that. :(
|
bool is_directory; |
- // True if the file corresponds to a symbolic link. |
+ // True if the file corresponds to a symbolic link. Always false on |
+ // Windows. |
rvargas (doing something else)
2015/03/13 18:37:00
Reflects the current implementation, but may not b
rvargas (doing something else)
2015/03/13 18:44:20
(and I'm basically fine either way)
Thiemo Nagel
2015/03/16 16:28:39
There is no specific use case. It's just me tryin
rvargas (doing something else)
2015/03/16 19:57:14
Could you make the comment state that this is an i
Thiemo Nagel
2015/03/17 19:48:35
Done.
|
bool is_symbolic_link; |
// The last modified time of a file. |