summaryrefslogtreecommitdiffstats
path: root/webkit/appcache/appcache.h
diff options
context:
space:
mode:
authorkkanetkar@chromium.org <kkanetkar@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-28 03:14:37 +0000
committerkkanetkar@chromium.org <kkanetkar@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-28 03:14:37 +0000
commitec5c192817606b55ad99edb256997b70eea41b85 (patch)
tree16e863d9b1fa02f029c050b028177b7c984da6eb /webkit/appcache/appcache.h
parent16d35b25ec19b82c13dc7cd24f744951cc12fad0 (diff)
downloadchromium_src-ec5c192817606b55ad99edb256997b70eea41b85.zip
chromium_src-ec5c192817606b55ad99edb256997b70eea41b85.tar.gz
chromium_src-ec5c192817606b55ad99edb256997b70eea41b85.tar.bz2
Chrome side of changes required to populate appcache resource list.
BUG = 2821005 TEST = Manually navigate. Review URL: http://codereview.chromium.org/3009005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@53902 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/appcache/appcache.h')
-rw-r--r--webkit/appcache/appcache.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/webkit/appcache/appcache.h b/webkit/appcache/appcache.h
index 325c5113..eab23bb 100644
--- a/webkit/appcache/appcache.h
+++ b/webkit/appcache/appcache.h
@@ -72,6 +72,9 @@ class AppCache : public base::RefCounted<AppCache> {
}
base::Time update_time() const { return update_time_; }
+
+ int64 cache_size() const { return cache_size_; }
+
void set_update_time(base::Time ticks) { update_time_ = ticks; }
// Initializes the cache with information in the manifest.
@@ -135,6 +138,8 @@ class AppCache : public base::RefCounted<AppCache> {
// when this cache was last updated
base::Time update_time_;
+ int64 cache_size_;
+
// to notify service when cache is deleted
AppCacheService* service_;