diff options
Diffstat (limited to 'net/disk_cache/cache_util.h')
-rw-r--r-- | net/disk_cache/cache_util.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/net/disk_cache/cache_util.h b/net/disk_cache/cache_util.h index cb09521..7c91574 100644 --- a/net/disk_cache/cache_util.h +++ b/net/disk_cache/cache_util.h @@ -9,17 +9,23 @@ #include "base/basictypes.h" +class FilePath; + namespace disk_cache { // Moves the cache files from the given path to another location. // Returns true if successful, false otherwise. -bool MoveCache(const std::wstring& from_path, const std::wstring& to_path); +bool MoveCache(const FilePath& from_path, const FilePath& to_path); // Deletes the cache files stored on |path|, and optionally also attempts to // delete the folder itself. +void DeleteCache(const FilePath& path, bool remove_folder); +// Deprecated. void DeleteCache(const std::wstring& path, bool remove_folder); // Deletes a cache file. +bool DeleteCacheFile(const FilePath& name); +// Deprecated. bool DeleteCacheFile(const std::wstring& name); } // namespace disk_cache |