Chromium Code Reviews| 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..94b9983f0255c897b1858bbfef235f3a5a72c8f0 100644 |
| --- a/net/base/load_states_list.h |
| +++ b/net/base/load_states_list.h |
| @@ -39,9 +39,9 @@ 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 requests eligible for shared writing among them will be |
|
jkarlin
2017/02/03 18:26:19
I don't know that we want to mention shared writer
shivanisha
2017/02/06 21:14:10
Sounds good.
|
| +// responsible for writing (or updating) the cache entry and the remaining |
| +// requests will be deferred until the writing completes. |
| LOAD_STATE(WAITING_FOR_CACHE, 5) |
| // This state corresponds to a resource load that is blocked waiting for |