Index: net/http/http_cache_transaction.cc |
diff --git a/net/http/http_cache_transaction.cc b/net/http/http_cache_transaction.cc |
index 84c7f4ff76c0bc79d41ba21dd0a3a70ef0f726bb..57a81e2bcbf1ea4f11ddd6a9cdb63258656ea421 100644 |
--- a/net/http/http_cache_transaction.cc |
+++ b/net/http/http_cache_transaction.cc |
@@ -2119,6 +2119,13 @@ int HttpCache::Transaction::BeginCacheValidation() { |
bool skip_validation = (required_validation == VALIDATION_NONE); |
+ if ((effective_load_flags_ & LOAD_SUPPORT_ASYNC_REVALIDATION) && |
+ required_validation == VALIDATION_ASYNCHRONOUS) { |
+ DCHECK_EQ("GET", request_->method); |
+ skip_validation = true; |
+ response_.async_revalidation_required = true; |
+ } |
+ |
if (request_->method == "HEAD" && |
(truncated_ || response_.headers->response_code() == 206)) { |
DCHECK(!partial_); |