summaryrefslogtreecommitdiffstats
path: root/WebCore/loader/appcache/ApplicationCache.h
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/loader/appcache/ApplicationCache.h')
-rw-r--r--WebCore/loader/appcache/ApplicationCache.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/WebCore/loader/appcache/ApplicationCache.h b/WebCore/loader/appcache/ApplicationCache.h
index afdab27..4566471 100644
--- a/WebCore/loader/appcache/ApplicationCache.h
+++ b/WebCore/loader/appcache/ApplicationCache.h
@@ -93,6 +93,8 @@ public:
static bool requestIsHTTPOrHTTPSGet(const ResourceRequest&);
+ int64_t estimatedSizeInStorage() const { return m_estimatedSizeInStorage; }
+
private:
ApplicationCache();
@@ -106,6 +108,11 @@ private:
// While an update is in progress, changes in dynamic entries are queued for later execution.
Vector<std::pair<KURL, bool> > m_pendingDynamicEntryActions;
+ // The total size of the resources belonging to this Application Cache instance.
+ // This is an estimation of the size this Application Cache occupies in the
+ // database file.
+ int64_t m_estimatedSizeInStorage;
+
unsigned m_storageID;
};