Chromium Code Reviews| Index: base/test/test_file_util.h |
| diff --git a/base/test/test_file_util.h b/base/test/test_file_util.h |
| index 7042e4848419fd4c3c0200096c7663f5c66b3289..31dcce5eaa2318d4c447ea901a6e6e104c1159dc 100644 |
| --- a/base/test/test_file_util.h |
| +++ b/base/test/test_file_util.h |
| @@ -20,6 +20,10 @@ |
| #include <jni.h> |
| #endif |
| +#if defined(OS_WIN) |
| +#include <windows.h> |
| +#endif |
| + |
| namespace base { |
| class FilePath; |
| @@ -40,6 +44,9 @@ bool DieFileDie(const FilePath& file, bool recurse); |
| bool EvictFileFromSystemCache(const FilePath& file); |
| #if defined(OS_WIN) |
| +// Deny |permission| on the file |path|, for the current user. |
|
Peter Kasting
2016/07/19 21:56:06
Nit: Might want to say something like "|permission
WC Leung
2016/07/27 18:00:05
Does MSDN urls change? BTW, I'm negative about add
|
| +bool DenyFilePermission(const FilePath& path, DWORD permission); |
| + |
| // Returns true if the volume supports Alternate Data Streams. |
| bool VolumeSupportsADS(const FilePath& path); |