| Index: platform/network/ResourceResponseBase.h
|
| ===================================================================
|
| --- platform/network/ResourceResponseBase.h (revision 44202)
|
| +++ platform/network/ResourceResponseBase.h (working copy)
|
| @@ -29,6 +29,9 @@
|
|
|
| #include "HTTPHeaderMap.h"
|
| #include "KURL.h"
|
| +#if ENABLE(APPLICATION_CACHE)
|
| +#include "ApplicationCacheCommon.h"
|
| +#endif
|
|
|
| #include <memory>
|
|
|
| @@ -84,6 +87,14 @@
|
| void setLastModifiedDate(time_t);
|
| time_t lastModifiedDate() const;
|
|
|
| +#if ENABLE(APPLICATION_CACHE)
|
| + void setApplicationCacheID(ApplicationCacheID cacheID) { m_appcacheID = cacheID; }
|
| + ApplicationCacheID applicationCacheID() const { return m_appcacheID; }
|
| +
|
| + void setManifestURL(KURL& manifestURL) { m_manifestURL = manifestURL; }
|
| + const KURL& manifestURL() const { return m_manifestURL; }
|
| +#endif
|
| +
|
| bool cacheControlContainsNoCache() const
|
| {
|
| if (!m_haveParsedCacheControl)
|
| @@ -112,6 +123,9 @@
|
| , m_httpStatusCode(0)
|
| , m_expirationDate(0)
|
| , m_lastModifiedDate(0)
|
| +#if ENABLE(APPLICATION_CACHE)
|
| + , m_appcacheID(NoApplicationCacheID)
|
| +#endif
|
| , m_isNull(true)
|
| , m_haveParsedCacheControl(false)
|
| {
|
| @@ -126,6 +140,9 @@
|
| , m_httpStatusCode(0)
|
| , m_expirationDate(0)
|
| , m_lastModifiedDate(0)
|
| +#if ENABLE(APPLICATION_CACHE)
|
| + , m_appcacheID(NoApplicationCacheID)
|
| +#endif
|
| , m_isNull(false)
|
| , m_haveParsedCacheControl(false)
|
| {
|
| @@ -149,6 +166,10 @@
|
| HTTPHeaderMap m_httpHeaderFields;
|
| time_t m_expirationDate;
|
| time_t m_lastModifiedDate;
|
| +#if ENABLE(APPLICATION_CACHE)
|
| + KURL m_manifestURL;
|
| + ApplicationCacheID m_appcacheID;
|
| +#endif
|
| bool m_isNull : 1;
|
|
|
| private:
|
| @@ -173,6 +194,10 @@
|
| OwnPtr<CrossThreadHTTPHeaderMapData> m_httpHeaders;
|
| time_t m_expirationDate;
|
| time_t m_lastModifiedDate;
|
| +#if ENABLE(APPLICATION_CACHE)
|
| + ApplicationCacheID m_appcacheID;
|
| + KURL m_manifestURL;
|
| +#endif
|
| bool m_haveParsedCacheControl : 1;
|
| bool m_cacheControlContainsMustRevalidate : 1;
|
| bool m_cacheControlContainsNoCache : 1;
|
|
|