Resource Load Statistics: Classify resources as prevalent based on redirects to other...
[WebKit-https.git] / Source / WebCore / loader / ResourceLoadStatistics.h
index 1ea7afd..ece388b 100644 (file)
@@ -73,13 +73,18 @@ struct ResourceLoadStatistics {
     // Storage access
     HashSet<String> storageAccessUnderTopFrameOrigins;
 
+    // Top frame stats
+    HashCountedSet<String> topFrameUniqueRedirectsTo;
+    HashCountedSet<String> topFrameUniqueRedirectsFrom;
+
     // Subframe stats
     HashCountedSet<String> subframeUnderTopFrameOrigins;
     
     // Subresource stats
     HashCountedSet<String> subresourceUnderTopFrameOrigins;
     HashCountedSet<String> subresourceUniqueRedirectsTo;
-    
+    HashCountedSet<String> subresourceUniqueRedirectsFrom;
+
     // Prevalent resource stats
     bool isPrevalentResource { false };
     unsigned dataRecordsRemoved { 0 };