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

Unified Diff: net/base/load_states_list.h

Issue 2519473002: Fixes the cache lock issue. (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/BUILD.gn ('k') | net/http/http_cache.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/base/load_states_list.h
diff --git a/net/base/load_states_list.h b/net/base/load_states_list.h
index 5e850fb622220d3b6cb02a539897032cead220f3..b3966fbc77c7b5a975cf54428ad969f2acd60e17 100644
--- a/net/base/load_states_list.h
+++ b/net/base/load_states_list.h
@@ -39,9 +39,8 @@ LOAD_STATE(WAITING_FOR_DELEGATE, 4)
// This state corresponds to a resource load that is blocked waiting for
// access to a resource in the cache. If multiple requests are made for the
-// same resource, the first request will be responsible for writing (or
-// updating) the cache entry and the second request will be deferred until
-// the first completes. This may be done to optimize for cache reuse.
+// same resource, they'll typically run in parallel but in some circumstances
+// they may have to defer until a previous request has completed.
LOAD_STATE(WAITING_FOR_CACHE, 5)
// This state corresponds to a resource load that is blocked waiting for
« no previous file with comments | « net/BUILD.gn ('k') | net/http/http_cache.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698