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

Unified Diff: net/disk_cache/file.h

Issue 137483004: Merge 243495 "Disk Cache: Use the old WorkerPool for Async IO on..." (Closed) Base URL: svn://svn.chromium.org/chrome/branches/1750/src/
Patch Set: 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
« no previous file with comments | « net/disk_cache/backend_unittest.cc ('k') | net/disk_cache/file_ios.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/disk_cache/file.h
===================================================================
--- net/disk_cache/file.h (revision 244963)
+++ net/disk_cache/file.h (working copy)
@@ -70,6 +70,9 @@
// 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') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698