summaryrefslogtreecommitdiffstats
path: root/WebCore/platform/network/chromium/ResourceResponse.h
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/platform/network/chromium/ResourceResponse.h')
-rw-r--r--WebCore/platform/network/chromium/ResourceResponse.h12
1 files changed, 11 insertions, 1 deletions
diff --git a/WebCore/platform/network/chromium/ResourceResponse.h b/WebCore/platform/network/chromium/ResourceResponse.h
index 6c928c0..0c2b5d9 100644
--- a/WebCore/platform/network/chromium/ResourceResponse.h
+++ b/WebCore/platform/network/chromium/ResourceResponse.h
@@ -60,12 +60,18 @@ namespace WebCore {
m_isContentFiltered = isContentFiltered;
}
- long long getAppCacheID() const { return m_appCacheID; }
+ long long appCacheID() const { return m_appCacheID; }
void setAppCacheID(long long id)
{
m_appCacheID = id;
}
+ const KURL& appCacheManifestURL() const { return m_appCacheManifestURL; }
+ void setAppCacheManifestURL(const KURL& url)
+ {
+ m_appCacheManifestURL = url;
+ }
+
private:
friend class ResourceResponseBase;
@@ -86,6 +92,10 @@ namespace WebCore {
// The id of the appcache this response was retrieved from, or zero if
// the response was not retrieved from an appcache.
long long m_appCacheID;
+
+ // The manifest url of the appcache this response was retrieved from, if any.
+ // Note: only valid for main resource responses.
+ KURL m_appCacheManifestURL;
};
} // namespace WebCore