Index: net/http/mock_http_cache.h |
diff --git a/net/http/mock_http_cache.h b/net/http/mock_http_cache.h |
index 0fd192e597e4f3ba3b8d11cf97b9b085996f868e..5ead727b76a7f873dfd111215ac3dc53fac8946e 100644 |
--- a/net/http/mock_http_cache.h |
+++ b/net/http/mock_http_cache.h |
@@ -177,6 +177,9 @@ class MockHttpCache { |
// Wrapper around http_cache()->CreateTransaction(net::DEFAULT_PRIORITY...) |
int CreateTransaction(scoped_ptr<net::HttpTransaction>* trans); |
+ // Wrapper to bypass the cache lock for new transactions. |
+ void BypassCacheLock(); |
+ |
// Helper function for reading response info from the disk cache. |
static bool ReadResponseInfo(disk_cache::Entry* disk_entry, |
net::HttpResponseInfo* response_info, |