| Index: webkit/appcache/appcache_host.h
|
| ===================================================================
|
| --- webkit/appcache/appcache_host.h (revision 64524)
|
| +++ webkit/appcache/appcache_host.h (working copy)
|
| @@ -90,6 +90,10 @@
|
| // Used to ensure that a loaded appcache survives a frame navigation.
|
| void LoadMainResourceCache(int64 cache_id);
|
|
|
| + // Used to notify the host that a fallback resource is being delivered as
|
| + // the main resource of the page and to provide its url.
|
| + void NotifyMainResourceFallback(const GURL& fallback_url);
|
| +
|
| // Used to notify the host that the main resource was blocked by a policy. To
|
| // work properly, this method needs to by invoked prior to cache selection.
|
| void NotifyMainResourceBlocked(const GURL& manifest_url);
|
| @@ -198,6 +202,10 @@
|
| SwapCacheCallback* pending_swap_cache_callback_;
|
| void* pending_callback_param_;
|
|
|
| + // True if a fallback resource was delivered as the main resource.
|
| + bool main_resource_was_fallback_;
|
| + GURL fallback_url_;
|
| +
|
| // True if requests for this host were blocked by a policy.
|
| bool main_resource_blocked_;
|
| GURL blocked_manifest_url_;
|
|
|