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.h11
1 files changed, 7 insertions, 4 deletions
diff --git a/net/disk_cache/cache_util.h b/net/disk_cache/cache_util.h
index 6987dc3..0b3ee6e 100644
--- a/net/disk_cache/cache_util.h
+++ b/net/disk_cache/cache_util.h
@@ -8,7 +8,9 @@
#include "base/basictypes.h"
#include "net/base/net_export.h"
+namespace base {
class FilePath;
+}
namespace disk_cache {
@@ -18,15 +20,16 @@ namespace disk_cache {
// for the cache directory. Returns true if successful. On ChromeOS,
// this moves the cache contents, and leaves the empty cache
// directory.
-NET_EXPORT_PRIVATE bool MoveCache(const FilePath& from_path,
- const FilePath& to_path);
+NET_EXPORT_PRIVATE bool MoveCache(const base::FilePath& from_path,
+ const base::FilePath& to_path);
// Deletes the cache files stored on |path|, and optionally also attempts to
// delete the folder itself.
-NET_EXPORT_PRIVATE void DeleteCache(const FilePath& path, bool remove_folder);
+NET_EXPORT_PRIVATE void DeleteCache(const base::FilePath& path,
+ bool remove_folder);
// Deletes a cache file.
-NET_EXPORT_PRIVATE bool DeleteCacheFile(const FilePath& name);
+NET_EXPORT_PRIVATE bool DeleteCacheFile(const base::FilePath& name);
} // namespace disk_cache