Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(59)

Unified Diff: net/disk_cache/file.h

Issue 270066: Step 2 in porting disk cache to using FilePath. (Closed)
Patch Set: deprecated Created 11 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/disk_cache/entry_impl.cc ('k') | net/disk_cache/file_posix.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
« no previous file with comments | « net/disk_cache/entry_impl.cc ('k') | net/disk_cache/file_posix.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698