summaryrefslogtreecommitdiffstats
path: root/net/disk_cache/disk_cache.h
diff options
context:
space:
mode:
Diffstat (limited to 'net/disk_cache/disk_cache.h')
-rw-r--r--net/disk_cache/disk_cache.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/net/disk_cache/disk_cache.h b/net/disk_cache/disk_cache.h
index 04c08d6..a322021 100644
--- a/net/disk_cache/disk_cache.h
+++ b/net/disk_cache/disk_cache.h
@@ -16,6 +16,8 @@
#include "net/base/cache_type.h"
#include "net/base/completion_callback.h"
+class FilePath;
+
namespace net {
class IOBuffer;
}
@@ -34,7 +36,7 @@ class Backend;
// If zero is passed in as max_bytes, the cache will determine the value to use
// based on the available disk space. The returned pointer can be NULL if a
// fatal error is found.
-Backend* CreateCacheBackend(const std::wstring& path, bool force,
+Backend* CreateCacheBackend(const FilePath& path, bool force,
int max_bytes, net::CacheType type);
// Returns an instance of a Backend implemented only in memory. The returned