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

Unified Diff: net/disk_cache/file_posix.cc

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: Created 7 years 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_posix.cc
diff --git a/net/disk_cache/file_posix.cc b/net/disk_cache/file_posix.cc
index 30c4a660b13777351dd0d1f4c6d38b6615aa01fd..b673487c790ee79ccf04abf02f26365cc90ae879 100644
--- a/net/disk_cache/file_posix.cc
+++ b/net/disk_cache/file_posix.cc
@@ -167,6 +167,12 @@ void File::WaitForPendingIO(int* num_pending_io) {
base::RunLoop().RunUntilIdle();
}
+// Static.
+void File::DropPendingIO() {
+ // Nothing to do here.
gavinp 2014/01/07 15:50:42 Drop this comment.
+}
+
+
File::~File() {
if (IsValid())
base::ClosePlatformFile(platform_file_);

Powered by Google App Engine
This is Rietveld 408576698