Move URL from WebCore to WTF
[WebKit-https.git] / Source / WebKit / NetworkProcess / cache / CacheStorageEngineCache.h
index 7fb6e08..898018e 100644 (file)
@@ -45,7 +45,7 @@ struct RecordInformation {
 
     uint64_t size { 0 };
 
-    WebCore::URL url;
+    URL url;
     bool hasVaryStar { false };
     HashMap<String, String> varyHeaders;
 };
@@ -66,7 +66,7 @@ public:
     const String& uniqueName() const { return m_uniqueName; }
     bool isActive() const { return m_state != State::Uninitialized; }
 
-    void retrieveRecords(const WebCore::URL&, WebCore::DOMCacheEngine::RecordsCallback&&);
+    void retrieveRecords(const URL&, WebCore::DOMCacheEngine::RecordsCallback&&);
     WebCore::DOMCacheEngine::CacheInfo info() const { return { m_identifier, m_name }; }
 
     void put(Vector<WebCore::DOMCacheEngine::Record>&&, WebCore::DOMCacheEngine::RecordIdentifiersCallback&&);
@@ -94,8 +94,8 @@ public:
     static std::optional<DecodedRecord> decodeRecordHeader(const NetworkCache::Storage::Record&);
 
 private:
-    Vector<RecordInformation>* recordsFromURL(const WebCore::URL&);
-    const Vector<RecordInformation>* recordsFromURL(const WebCore::URL&) const;
+    Vector<RecordInformation>* recordsFromURL(const URL&);
+    const Vector<RecordInformation>* recordsFromURL(const URL&) const;
     RecordInformation& addRecord(Vector<RecordInformation>*, const WebCore::DOMCacheEngine::Record&);
 
     void storeRecords(Vector<WebCore::DOMCacheEngine::Record>&&, WebCore::DOMCacheEngine::RecordIdentifiersCallback&&);