| Index: net/disk_cache/cache_util.h
|
| diff --git a/net/disk_cache/cache_util.h b/net/disk_cache/cache_util.h
|
| index cb09521e4681bf8c1797d233902dd8380c1dc5f4..7c915742b20a795df41d769d3bef64d4774b3433 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
|
|
|