summaryrefslogtreecommitdiffstats
path: root/webkit/appcache/appcache.h
diff options
context:
space:
mode:
Diffstat (limited to 'webkit/appcache/appcache.h')
-rw-r--r--webkit/appcache/appcache.h5
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);