Chromium Code Reviews| Index: base/sys_info.h |
| diff --git a/base/sys_info.h b/base/sys_info.h |
| index 5686dcbb49d22f8dc32cc73301932cb9eb3712ea..ea0d9e0886ef2efa8def419c0134878df1af25af 100644 |
| --- a/base/sys_info.h |
| +++ b/base/sys_info.h |
| @@ -50,6 +50,10 @@ class BASE_EXPORT SysInfo { |
| // or -1 on failure. |
| static int64_t AmountOfFreeDiskSpace(const FilePath& path); |
| + // Return the total disk space in bytes on the volume containing |path|, or -1 |
| + // on failure. |
| + static int64_t AmountOfTotalDiskSpace(const FilePath& path); |
| + |
| // Returns system uptime. |
| static TimeDelta Uptime(); |