summaryrefslogtreecommitdiffstats
path: root/WebCore/page/ChromeClient.h
diff options
context:
space:
mode:
authorAndroid (Google) Code Review <android-gerrit@google.com>2009-07-22 00:44:09 -0700
committerAndroid (Google) Code Review <android-gerrit@google.com>2009-07-22 00:44:09 -0700
commit360a1ec8de320b6633c2fd5e5cb474d87de6a4b3 (patch)
treec17954ae9591b6050ee4a65711bef34d1287117a /WebCore/page/ChromeClient.h
parent08b80b7cd093a7516590227c26ca3e4d37e211c1 (diff)
parentc60802dd50f86c37e0596d41c3ef6fc2c8804da4 (diff)
downloadexternal_webkit-360a1ec8de320b6633c2fd5e5cb474d87de6a4b3.zip
external_webkit-360a1ec8de320b6633c2fd5e5cb474d87de6a4b3.tar.gz
external_webkit-360a1ec8de320b6633c2fd5e5cb474d87de6a4b3.tar.bz2
Merge change 8010
* changes: Implements a mechanism that limit the growth of the application cache
Diffstat (limited to 'WebCore/page/ChromeClient.h')
-rw-r--r--WebCore/page/ChromeClient.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/WebCore/page/ChromeClient.h b/WebCore/page/ChromeClient.h
index e155754..46f37f3 100644
--- a/WebCore/page/ChromeClient.h
+++ b/WebCore/page/ChromeClient.h
@@ -139,6 +139,15 @@ namespace WebCore {
virtual void exceededDatabaseQuota(Frame*, const String& databaseName) = 0;
#endif
+#if ENABLE(OFFLINE_WEB_APPLICATIONS)
+ // Callback invoked when the application cache fails to save a cache object
+ // because storing it would grow the database file past its defined maximum
+ // size or past the amount of free space on the device.
+ // The chrome client would need to take some action such as evicting some
+ // old caches.
+ virtual void reachedMaxAppCacheSize(int64_t spaceNeeded) = 0;
+#endif
+
#if ENABLE(DASHBOARD_SUPPORT)
virtual void dashboardRegionsChanged();
#endif