diff options
author | michaeln@chromium.org <michaeln@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-01-06 03:26:41 +0000 |
---|---|---|
committer | michaeln@chromium.org <michaeln@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-01-06 03:26:41 +0000 |
commit | fd4882e6faab19e1de6d791acebfa3b34faf5701 (patch) | |
tree | 2fa95bddd8b6189d0dd7b850d24da0b7ab382e28 /webkit/appcache/appcache_database.h | |
parent | 12e8fecd3923d3ace7fe3f505ba3fa490b5417c1 (diff) | |
download | chromium_src-fd4882e6faab19e1de6d791acebfa3b34faf5701.zip chromium_src-fd4882e6faab19e1de6d791acebfa3b34faf5701.tar.gz chromium_src-fd4882e6faab19e1de6d791acebfa3b34faf5701.tar.bz2 |
AppCache quota tracking groundwork, store response sizes in the SQL database.
TEST=updated existing unittests
BUG=none
Review URL: http://codereview.chromium.org/523046
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35609 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/appcache/appcache_database.h')
-rw-r--r-- | webkit/appcache/appcache_database.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/webkit/appcache/appcache_database.h b/webkit/appcache/appcache_database.h index 89ff701..968a188 100644 --- a/webkit/appcache/appcache_database.h +++ b/webkit/appcache/appcache_database.h @@ -37,6 +37,7 @@ class AppCacheDatabase { int64 group_id; bool online_wildcard; base::TimeTicks update_time; + int64 cache_size; // the sum of all response sizes in this cache }; struct EntryRecord { @@ -44,6 +45,7 @@ class AppCacheDatabase { GURL url; int flags; int64 response_id; + int64 response_size; }; struct FallbackNameSpaceRecord { |