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

Unified Diff: net/http/mock_http_cache.cc

Issue 2671793002: Correct handling of ERR_CACHE_LOCK_TIMEOUT for read only transactions. (Closed)
Patch Set: Feedback addressed. Created 3 years, 10 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/http/mock_http_cache.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/http/mock_http_cache.cc
diff --git a/net/http/mock_http_cache.cc b/net/http/mock_http_cache.cc
index 9fc8ced93ce4c502f56f42508b8abc454208cd9b..d76eae6cb2609c901f75c0bf4f64c9410afcffc6 100644
--- a/net/http/mock_http_cache.cc
+++ b/net/http/mock_http_cache.cc
@@ -565,8 +565,8 @@ int MockHttpCache::CreateTransaction(std::unique_ptr<HttpTransaction>* trans) {
return http_cache_.CreateTransaction(DEFAULT_PRIORITY, trans);
}
-void MockHttpCache::BypassCacheLock() {
- http_cache_.BypassLockForTest();
+void MockHttpCache::SimulateCacheLockTimeout() {
+ http_cache_.SimulateCacheLockTimeout();
}
void MockHttpCache::FailConditionalizations() {
« no previous file with comments | « net/http/mock_http_cache.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698