summaryrefslogtreecommitdiffstats
path: root/net/disk_cache/file.h
diff options
context:
space:
mode:
authorrvargas@chromium.org <rvargas@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-01-08 06:16:22 +0000
committerrvargas@chromium.org <rvargas@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-01-08 06:16:22 +0000
commit48a109f6690e4f160ef912f1fad9259ef7402583 (patch)
tree8e57f734cf5787bcd46633b7038dbe4636e35c2c /net/disk_cache/file.h
parentbe38ec6c853e491567a6da3df3a5be1f5efa38d4 (diff)
downloadchromium_src-48a109f6690e4f160ef912f1fad9259ef7402583.zip
chromium_src-48a109f6690e4f160ef912f1fad9259ef7402583.tar.gz
chromium_src-48a109f6690e4f160ef912f1fad9259ef7402583.tar.bz2
Disk Cache: Use the old WorkerPool for Async IO on iOS.
This basically reverts r222408 for iOS BUG=330074 TEST=net_unittests Review URL: https://codereview.chromium.org/103533012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@243495 0039d316-1c4b-4281-b951-d872f2087c98
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 eb9a9ec..190f7cb 100644
--- a/net/disk_cache/file.h
+++ b/net/disk_cache/file.h
@@ -70,6 +70,9 @@ class NET_EXPORT_PRIVATE File : public base::RefCounted<File> {
// Blocks until |num_pending_io| IO operations complete.
static void WaitForPendingIO(int* num_pending_io);
+ // Drops current pending operations without waiting for them to complete.
+ static void DropPendingIO();
+
protected:
virtual ~File();