Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(662)

Unified Diff: platform/network/ResourceResponseBase.h

Issue 113554: For local review prior to sending to webkit (Closed) Base URL: http://svn.webkit.org/repository/webkit/trunk/WebCore/
Patch Set: '' Created 11 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « platform/network/ResourceRequestBase.cpp ('k') | platform/network/ResourceResponseBase.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
« no previous file with comments | « platform/network/ResourceRequestBase.cpp ('k') | platform/network/ResourceResponseBase.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698