| Index: platform.h
|
| diff --git a/platform.h b/platform.h
|
| index fc03f9fcc70a3a7abb892c793e041597325c693f..200972c3d7983a6e4846fc962a4ba8beded032e6 100644
|
| --- a/platform.h
|
| +++ b/platform.h
|
| @@ -154,6 +154,14 @@ class Platform {
|
| virtual bool GetUserId(const std::string& user, uid_t* user_id,
|
| gid_t* group_id);
|
|
|
| + // Return the available disk space in bytes on the volume containing |path|,
|
| + // or -1 on failure.
|
| + // Code duplicated from Chrome's base::SysInfo::AmountOfFreeDiskSpace().
|
| + //
|
| + // Parameters
|
| + // path - the pathname of any file within the mounted file system
|
| + virtual int64 AmountOfFreeDiskSpace(const std::string& path);
|
| +
|
| // Clears the user keyring
|
| static void ClearUserKeyring();
|
|
|
|
|