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

Unified Diff: net/http/http_cache.cc

Issue 1476123002: Bounce all requests off the cache lock after 25ms. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: mmenke comments Created 5 years, 1 month 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/http_cache.h ('k') | net/http/http_cache_transaction.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/http/http_cache.cc
diff --git a/net/http/http_cache.cc b/net/http/http_cache.cc
index 6a33acb9ab06a34b6fd621e163c53163e12191e1..b8a5745299ee08762c73cd1b148eacab70c04c98 100644
--- a/net/http/http_cache.cc
+++ b/net/http/http_cache.cc
@@ -309,7 +309,6 @@ HttpCache::HttpCache(scoped_ptr<HttpTransactionFactory> network_layer,
: net_log_(nullptr),
backend_factory_(backend_factory.Pass()),
building_backend_(false),
- bypass_lock_for_test_(false),
fail_conditionalization_for_test_(false),
mode_(NORMAL),
network_layer_(network_layer.Pass()),
@@ -459,8 +458,6 @@ int HttpCache::CreateTransaction(RequestPriority priority,
HttpCache::Transaction* transaction =
new HttpCache::Transaction(priority, this);
- if (bypass_lock_for_test_)
- transaction->BypassLockForTest();
if (fail_conditionalization_for_test_)
transaction->FailConditionalizationForTest();
« no previous file with comments | « net/http/http_cache.h ('k') | net/http/http_cache_transaction.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698