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

Unified Diff: net/http/http_response_info.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/http/http_response_info.h
diff --git a/net/http/http_response_info.h b/net/http/http_response_info.h
index 83bc630bfa64cbcde60b2f52e5cc7d196d932f5b..ddd70f180588ad891150805b7f506afe0f80c6a5 100644
--- a/net/http/http_response_info.h
+++ b/net/http/http_response_info.h
@@ -75,6 +75,15 @@ class NET_EXPORT HttpResponseInfo {
// The HTTP request didn't allow a conditional request. Implies !was_cached
// && network_accessed.
ENTRY_CANT_CONDITIONALIZE,
+ // No validation is needed and request joins the already created
+ // SharedWriters.
+ ENTRY_SKIP_VALIDATION_DO_SHARED_WRITING,
+ // Validation is a match and request joins the already created
+ // SharedWriters.
+ ENTRY_VALIDATED_DO_SHARED_WRITING,
+ // Validation is not a match and SharedWriters exists, request dooms the
+ // entry and gets the response from the network.
+ ENTRY_VALIDATED_DOOM_SHARED_WRITING,
ENTRY_MAX,
};

Powered by Google App Engine
This is Rietveld 408576698