Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(194)

Unified Diff: base/sys_info.h

Issue 4003: Fix AmountOfFreeDiskSpace to be able to differentiate an error... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 12 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | base/sys_info_posix.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/sys_info.h
===================================================================
--- base/sys_info.h (revision 2424)
+++ base/sys_info.h (working copy)
@@ -24,7 +24,8 @@
return static_cast<int>(AmountOfPhysicalMemory() / 1024 / 1024);
}
- // Return the available disk space in bytes on the volume containing |path|.
+ // Return the available disk space in bytes on the volume containing |path|,
+ // or -1 on failure.
static int64 AmountOfFreeDiskSpace(const std::wstring& path);
};
« no previous file with comments | « no previous file | base/sys_info_posix.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698