From 731df977c0511bca2206b5f333555b1205ff1f43 Mon Sep 17 00:00:00 2001 From: Iain Merrick Date: Mon, 1 Nov 2010 12:19:54 +0000 Subject: Merge Chromium at r63472 : Initial merge by git. Change-Id: Ifb9ee821af006a5f2211e81471be93ae440a1f5a --- net/disk_cache/cache_util.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'net/disk_cache/cache_util.h') diff --git a/net/disk_cache/cache_util.h b/net/disk_cache/cache_util.h index 455bf305..04b9a070 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 -- cgit v1.2.3