Index: webkit/appcache/appcache_group.h |
diff --git a/webkit/appcache/appcache_group.h b/webkit/appcache/appcache_group.h |
index c1bb1fcf651424be14b6ce616b0582943da8b945..a8113374e5aa659314374a6ef5ac432ce1c73cfc 100644 |
--- a/webkit/appcache/appcache_group.h |
+++ b/webkit/appcache/appcache_group.h |
@@ -30,9 +30,12 @@ class AppCacheGroup : public base::RefCounted<AppCacheGroup> { |
class UpdateObserver { |
public: |
+ // Called if access to the appcache was blocked by a policy. |
+ virtual void OnContentBlocked(AppCacheGroup* group) = 0; |
+ |
// Called just after an appcache update has completed. |
virtual void OnUpdateComplete(AppCacheGroup* group) = 0; |
- virtual ~UpdateObserver() { } |
+ virtual ~UpdateObserver() {} |
}; |
enum UpdateStatus { |
@@ -105,6 +108,8 @@ class AppCacheGroup : public base::RefCounted<AppCacheGroup> { |
AppCacheUpdateJob* update_job() { return update_job_; } |
void SetUpdateStatus(UpdateStatus status); |
+ void NotifyContentBlocked(); |
+ |
const Caches& old_caches() const { return old_caches_; } |
// Update cannot be processed at this time. Queue it for a later run. |