summaryrefslogtreecommitdiffstats
path: root/net/disk_cache/cache_util.h
diff options
context:
space:
mode:
Diffstat (limited to 'net/disk_cache/cache_util.h')
-rw-r--r--net/disk_cache/cache_util.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/net/disk_cache/cache_util.h b/net/disk_cache/cache_util.h
index 8ddb8a7..0977472 100644
--- a/net/disk_cache/cache_util.h
+++ b/net/disk_cache/cache_util.h
@@ -11,11 +11,12 @@
namespace disk_cache {
-// Returns the available disk space on the volume that contains |path|, or -1
-// on failure.
+// Returns the available disk space on the volume that contains |path|
+// (in bytes), or -1 on failure.
int64 GetFreeDiskSpace(const std::wstring& path);
-// Returns the total physical memory on the system, or -1 on failure.
+// Returns the total physical memory on the system (in bytes),
+// or -1 on failure.
int64 GetSystemMemory();
// Moves the cache files from the given path to another location.