Rolling out r212757
[WebKit-https.git] / Source / WebKit2 / UIProcess / WebResourceLoadStatisticsStore.h
index 80b8100..5e49007 100644 (file)
@@ -28,7 +28,6 @@
 
 #include "APIObject.h"
 #include "Connection.h"
-#include "ResourceLoadStatisticsClassifier.h"
 #include "WebsiteDataRecord.h"
 #include <WebCore/ResourceLoadStatisticsStore.h>
 #include <wtf/Vector.h>
@@ -77,6 +76,7 @@ private:
 
     void processStatisticsAndDataRecords();
 
+    bool hasPrevalentResourceCharacteristics(const WebCore::ResourceLoadStatistics&);
     void classifyResource(WebCore::ResourceLoadStatistics&);
     void removeDataRecords();
 
@@ -89,9 +89,8 @@ private:
     std::unique_ptr<WebCore::KeyedDecoder> createDecoderFromDisk(const String& label) const;
 
     Ref<WebCore::ResourceLoadStatisticsStore> m_resourceLoadStatisticsStore;
-    ResourceLoadStatisticsClassifier m_resourceLoadStatisticsClassifier;
     Ref<WTF::WorkQueue> m_statisticsQueue;
-    String m_statisticsStoragePath;
+    String m_storagePath;
     bool m_resourceLoadStatisticsEnabled { false };
 
     double m_lastTimeDataRecordsWereRemoved { 0 };