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

Unified Diff: net/base/load_flags_list.h

Issue 1039263002: //net changes for stale-while-revalidate (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@s-w-r-remove-old-impl
Patch Set: Only support GET for async revalidations. Created 5 years, 6 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 | « no previous file | net/http/http_cache_transaction.cc » ('j') | net/http/http_cache_transaction.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/base/load_flags_list.h
diff --git a/net/base/load_flags_list.h b/net/base/load_flags_list.h
index 99d2be62441e1a34c4041ae8b46824e44b5a81c5..f82961194842197654dea0521225d6685ef9cd68 100644
--- a/net/base/load_flags_list.h
+++ b/net/base/load_flags_list.h
@@ -87,3 +87,7 @@ LOAD_FLAG(DO_NOT_USE_EMBEDDED_IDENTITY, 1 << 17)
// TODO(rcs): Remove this flag as soon as http://crbug.com/339237 is resolved.
LOAD_FLAG(BYPASS_DATA_REDUCTION_PROXY, 1 << 18)
+// The creator of this URLRequest wishes to receive stale responses when allowed
+// by the Cache-Control: stale-while-revalidate directive and is able to issue
tyoshino (SeeGerritForStatus) 2015/06/15 09:40:02 please double quote the header name and value "Ca
Adam Rice 2015/06/15 10:17:41 Done.
+// an async revalidation to update the cache.
+LOAD_FLAG(SUPPORT_ASYNC_REVALIDATION, 1 << 19)
« no previous file with comments | « no previous file | net/http/http_cache_transaction.cc » ('j') | net/http/http_cache_transaction.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698