Chromium Code Reviews| Index: base/sys_info.h |
| diff --git a/base/sys_info.h b/base/sys_info.h |
| index 97b17c4a0afd6db7ca1fbaab638faeb3615dbbd7..cff8c4708199c859c0d965812a5f278e6266c5fd 100644 |
| --- a/base/sys_info.h |
| +++ b/base/sys_info.h |
| @@ -35,6 +35,10 @@ class BASE_EXPORT SysInfo { |
| // or -1 on failure. |
| static int64 AmountOfFreeDiskSpace(const FilePath& path); |
| + // Return the maximum length of path component on the volume containing |
| + // |path|, in the number of FilePath::CharType, or -1 on failure. |
| + static int GetMaximumPathComponentLength(const FilePath& path); |
|
asanka
2013/02/12 20:20:12
Why in sys_info.h? Have you considered putting thi
kinaba
2013/02/14 04:52:47
Fm, sounds better. Done.
|
| + |
| // Returns system uptime in milliseconds. |
| static int64 Uptime(); |