Index: net/base/net_log_event_type_list.h |
diff --git a/net/base/net_log_event_type_list.h b/net/base/net_log_event_type_list.h |
index 0626683a59147d0924ab7a268b0dac9a9be2332e..823cde18bd3f1f08abd127222d8fda4e8dc174c2 100644 |
--- a/net/base/net_log_event_type_list.h |
+++ b/net/base/net_log_event_type_list.h |
@@ -835,6 +835,29 @@ EVENT_TYPE(HTTP_CACHE_WRITE_INFO) |
EVENT_TYPE(HTTP_CACHE_READ_DATA) |
EVENT_TYPE(HTTP_CACHE_WRITE_DATA) |
+// Identifies the NetLog::Source() for the asynchronous HttpCache::Transaction |
+// that will revalidate this entry. |
+// The event parameters are: |
+// { |
+// "source_dependency": <Source identifier for the async Transaction> |
+// } |
+EVENT_TYPE(HTTP_CACHE_VALIDATE_RESOURCE_ASYNC) |
+ |
+// The start/end of performing an async revalidation. |
+// For the BEGIN phase, the event parameters are: |
+// { |
+// "source_dependency": <Source identifier for the Request> |
+// "url": <String of URL being loaded>, |
+// "method": <Method of request> |
+// } |
+// |
+// For the END phase, if there was an error, the following parameters are |
+// attached: |
+// { |
+// "net_error": <Net error code of the failure>, |
+// } |
+EVENT_TYPE(ASYNC_REVALIDATION) |
+ |
// ------------------------------------------------------------------------ |
// Disk Cache / Memory Cache |
// ------------------------------------------------------------------------ |