diff options
author | michaeln@chromium.org <michaeln@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-01-06 22:25:33 +0000 |
---|---|---|
committer | michaeln@chromium.org <michaeln@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-01-06 22:25:33 +0000 |
commit | 0dfeec38d00d53b6751a937e43394d6036987698 (patch) | |
tree | b8641d3bd07cbe185deb9f1dba29acb551bb92a2 /webkit/appcache/appcache.h | |
parent | f1002ee286ad56e2b80736661e89989b650aad6e (diff) | |
download | chromium_src-0dfeec38d00d53b6751a937e43394d6036987698.zip chromium_src-0dfeec38d00d53b6751a937e43394d6036987698.tar.gz chromium_src-0dfeec38d00d53b6751a937e43394d6036987698.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/525060
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35654 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/appcache/appcache.h')
-rw-r--r-- | webkit/appcache/appcache.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/webkit/appcache/appcache.h b/webkit/appcache/appcache.h index c4446f9..d99393f 100644 --- a/webkit/appcache/appcache.h +++ b/webkit/appcache/appcache.h @@ -47,8 +47,9 @@ class AppCache : public base::RefCounted<AppCache> { void AddEntry(const GURL& url, const AppCacheEntry& entry); // Adds a new entry or modifies an existing entry by merging the types - // of the new entry with the existing entry. - void AddOrModifyEntry(const GURL& url, const AppCacheEntry& entry); + // of the new entry with the existing entry. Returns true if a new entry + // is added, false if the flags are merged into an existing entry. + bool AddOrModifyEntry(const GURL& url, const AppCacheEntry& entry); // Do not store the returned object as it could be deleted anytime. AppCacheEntry* GetEntry(const GURL& url); |