Index: net/disk_cache/simple/simple_backend_impl.cc |
diff --git a/net/disk_cache/simple/simple_backend_impl.cc b/net/disk_cache/simple/simple_backend_impl.cc |
index 4aed36c78fc6c7db72720e3dcd84a380e72dca77..dab33a89473981df9081b5f6051ee02f8bf3e894 100644 |
--- a/net/disk_cache/simple/simple_backend_impl.cc |
+++ b/net/disk_cache/simple/simple_backend_impl.cc |
@@ -567,4 +567,9 @@ void SimpleBackendImpl::CheckIterationReturnValue( |
CallCompletionCallback(callback, error_code); |
} |
+void SimpleBackendImpl::FlushWorkerPoolForTesting() { |
+ if (g_sequenced_worker_pool) |
+ g_sequenced_worker_pool->FlushForTesting(); |
+} |
+ |
} // namespace disk_cache |