Index: net/disk_cache/simple/simple_util.h |
diff --git a/net/disk_cache/simple/simple_util.h b/net/disk_cache/simple/simple_util.h |
index b6ca85bb23be044c63296202e408ee183449e2de..feebfcc98d2ddde30e6fcf94654993cc25880712 100644 |
--- a/net/disk_cache/simple/simple_util.h |
+++ b/net/disk_cache/simple/simple_util.h |
@@ -69,7 +69,13 @@ NET_EXPORT_PRIVATE int GetFileIndexFromStreamIndex(int stream_index); |
// functions in file.h, the time resolution is milliseconds. |
NET_EXPORT_PRIVATE bool GetMTime(const base::FilePath& path, |
base::Time* out_mtime); |
-} // namespace simple_backend |
+ |
+// Deletes a file, insuring POSIX semantics; it is possible to delete an open |
+// file and continue to use that file. After deleting an open file, it is also |
+// possible to immediately create a new file with the same name. |
mmenke
2014/10/28 20:07:43
Think it's worth mentioning this requires all open
gavinp
2014/10/28 23:09:39
Done.
|
+NET_EXPORT_PRIVATE bool SimpleCacheDeleteFile(const base::FilePath& path); |
+ |
+} // namespace simple_util |
} // namespace disk_cache |