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

Unified Diff: net/base/load_states_list.h

Issue 2519473002: Fixes the cache lock issue. (Closed)
Patch Set: Initial patch Created 4 years 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
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..c33efdf96473ab1920abf620dd70f09eed6ee63a 100644
--- a/net/base/load_states_list.h
+++ b/net/base/load_states_list.h
@@ -39,9 +39,10 @@ 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, the first request/multiple sharing-eligible requests will be
+// responsible for writing (or updating) the cache entry and the remaining
+// requests will be deferred until the writing completes or the writer
jkarlin 2016/12/06 18:08:17 Can you omit 'or the write transactions compelte'?
shivanisha 2016/12/06 21:53:34 Done. Also rephrased the last sentence to be "This
+// transactions complete. This may be done to optimize for cache reuse.
LOAD_STATE(WAITING_FOR_CACHE, 5)
// This state corresponds to a resource load that is blocked waiting for

Powered by Google App Engine
This is Rietveld 408576698