summaryrefslogtreecommitdiffstats
path: root/net/disk_cache/file.h
diff options
context:
space:
mode:
Diffstat (limited to 'net/disk_cache/file.h')
-rw-r--r--net/disk_cache/file.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/net/disk_cache/file.h b/net/disk_cache/file.h
index bb0c56f..3c167db 100644
--- a/net/disk_cache/file.h
+++ b/net/disk_cache/file.h
@@ -67,6 +67,9 @@ class File : public base::RefCounted<File> {
bool SetLength(size_t length);
size_t GetLength();
+ // Blocks until |num_pending_io| IO operations complete.
+ static void WaitForPendingIO(int* num_pending_io);
+
protected:
virtual ~File();