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

Unified Diff: net/base/load_flags_list.h

Issue 455623003: stale-while-revalidate experimental implementation. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add load flag LOAD_ASYNC_REVALIDATION. Created 6 years, 3 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
Index: net/base/load_flags_list.h
diff --git a/net/base/load_flags_list.h b/net/base/load_flags_list.h
index 72792eb9aaba4ac351fc357d796d9ac5a7fa7d9f..f2f4f2580a97de643277afa3b5684f88b87abdcf 100644
--- a/net/base/load_flags_list.h
+++ b/net/base/load_flags_list.h
@@ -125,3 +125,8 @@ LOAD_FLAG(DO_NOT_USE_EMBEDDED_IDENTITY, 1 << 27)
// reduction proxy.
// TODO(rcs): Remove this flag as soon as http://crbug.com/339237 is resolved.
LOAD_FLAG(BYPASS_DATA_REDUCTION_PROXY, 1 << 28)
+
+// Indicates the the request is an asynchronous revalidation. Currently this
+// flag just prevents re-entering the async code path, so you probably don't
rvargas (doing something else) 2014/09/05 22:52:39 nit: The comment risks becoming stale without noti
Adam Rice 2014/09/09 12:36:45 I removed the comment. I'm still concerned about c
rvargas (doing something else) 2014/09/11 02:33:05 Fair point. We could consider naming this closer t
+// want to use it.
+LOAD_FLAG(ASYNC_REVALIDATION, 1 << 29)

Powered by Google App Engine
This is Rietveld 408576698