diff options
Diffstat (limited to 'net/disk_cache/file.h')
-rw-r--r-- | net/disk_cache/file.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/net/disk_cache/file.h b/net/disk_cache/file.h index 3c167db..76c2f79 100644 --- a/net/disk_cache/file.h +++ b/net/disk_cache/file.h @@ -12,6 +12,8 @@ #include "base/platform_file.h" #include "base/ref_counted.h" +class FilePath; + namespace disk_cache { // This interface is used to support asynchronous ReadData and WriteData calls. @@ -39,7 +41,7 @@ class File : public base::RefCounted<File> { // Initializes the object to point to a given file. The file must aready exist // on disk, and allow shared read and write. - bool Init(const std::wstring& name); + bool Init(const FilePath& name); // Returns the handle or file descriptor. base::PlatformFile platform_file() const; |