Index: net/disk_cache/cache_util_win.cc |
=================================================================== |
--- net/disk_cache/cache_util_win.cc (revision 2357) |
+++ net/disk_cache/cache_util_win.cc (working copy) |
@@ -38,17 +38,6 @@ |
namespace disk_cache { |
-int64 GetFreeDiskSpace(const std::wstring& path) { |
- ULARGE_INTEGER available, total, free; |
- if (!GetDiskFreeSpaceExW(path.c_str(), &available, &total, &free)) { |
- return -1; |
- } |
- int64 rv = static_cast<int64>(available.QuadPart); |
- if (rv < 0) |
- rv = kint64max; |
- return rv; |
-} |
- |
bool MoveCache(const std::wstring& from_path, const std::wstring& to_path) { |
// I don't want to use the shell version of move because if something goes |
// wrong, that version will attempt to move file by file and fail at the end. |