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

Unified Diff: net/http/http_cache.h

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 | « no previous file | net/http/http_cache.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/http/http_cache.h
diff --git a/net/http/http_cache.h b/net/http/http_cache.h
index c960bbd6d457b2330eebfa761b260ef4cfd96dc1..85fa4d30b1a032b2dd2134c6bbcb7ab2d45c4b81 100644
--- a/net/http/http_cache.h
+++ b/net/http/http_cache.h
@@ -200,12 +200,6 @@ class NET_EXPORT HttpCache : public HttpTransactionFactory,
// referred to by |url| and |http_method|.
void OnExternalCacheHit(const GURL& url, const std::string& http_method);
- // Causes all transactions created after this point to effectively bypass
- // the cache lock whenever there is lock contention.
- void BypassLockForTest() {
- bypass_lock_for_test_ = true;
- }
-
// Causes all transactions created after this point to generate a failure
// when attempting to conditionalize a network request.
void FailConditionalizationForTest() {
@@ -410,7 +404,6 @@ class NET_EXPORT HttpCache : public HttpTransactionFactory,
// Used when lazily constructing the disk_cache_.
scoped_ptr<BackendFactory> backend_factory_;
bool building_backend_;
- bool bypass_lock_for_test_;
bool fail_conditionalization_for_test_;
Mode mode_;
« no previous file with comments | « no previous file | net/http/http_cache.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698