diff options
Diffstat (limited to 'chromium/base/sys_info.h')
-rw-r--r-- | chromium/base/sys_info.h | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/chromium/base/sys_info.h b/chromium/base/sys_info.h index 5686dcbb49d..b10747703d2 100644 --- a/chromium/base/sys_info.h +++ b/chromium/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(); @@ -93,12 +97,6 @@ class BASE_EXPORT SysInfo { // allocate. static size_t VMAllocationGranularity(); -#if defined(OS_POSIX) && !defined(OS_MACOSX) - // Returns the maximum SysV shared memory segment size, or zero if there is no - // limit. - static uint64_t MaxSharedMemorySize(); -#endif // defined(OS_POSIX) && !defined(OS_MACOSX) - #if defined(OS_CHROMEOS) typedef std::map<std::string, std::string> LsbReleaseMap; |