Index: net/disk_cache/file.h |
diff --git a/net/disk_cache/file.h b/net/disk_cache/file.h |
index 3c167dbb76e0e3e691e9fe9e0667cacf74ddedee..76c2f7940bbd32ccf72216b9b09874d1ac3d39ad 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; |