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.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/net/disk_cache/cache_util.h b/net/disk_cache/cache_util.h
index 455bf30..04b9a07 100644
--- a/net/disk_cache/cache_util.h
+++ b/net/disk_cache/cache_util.h
@@ -13,7 +13,11 @@ class FilePath;
namespace disk_cache {
// Moves the cache files from the given path to another location.
-// Returns true if successful, false otherwise.
+// Fails if the destination exists already, or if it doesn't have
+// permission for the operation. This is basically a rename operation
+// for the cache directory. Returns true if successful. On ChromeOS,
+// this moves the cache contents, and leaves the empty cache
+// directory.
bool MoveCache(const FilePath& from_path, const FilePath& to_path);
// Deletes the cache files stored on |path|, and optionally also attempts to