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

Unified Diff: net/disk_cache/file.h

Issue 103533012: Disk Cache: Use the old WorkerPool for Async IO on iOS. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Nits Created 6 years, 11 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
Index: net/disk_cache/file.h
diff --git a/net/disk_cache/file.h b/net/disk_cache/file.h
index eb9a9ecc1e1ea317b3409b22e7fc84f1a35836ac..190f7cb9f829d555bc55140fa3b6bbb51c0cd9dc 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();
« no previous file with comments | « net/disk_cache/backend_unittest.cc ('k') | net/disk_cache/file_ios.cc » ('j') | net/net.gyp » ('J')

Powered by Google App Engine
This is Rietveld 408576698