diff options
Diffstat (limited to 'webkit/appcache/appcache_service.h')
-rw-r--r-- | webkit/appcache/appcache_service.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/webkit/appcache/appcache_service.h b/webkit/appcache/appcache_service.h index 7d200b3..6a0c931 100644 --- a/webkit/appcache/appcache_service.h +++ b/webkit/appcache/appcache_service.h @@ -58,6 +58,11 @@ class AppCacheService { storage_->PurgeMemory(); } + // Determines if a request for 'url' can be satisfied while offline. + // This method always completes asynchronously. + void CanHandleMainResourceOffline(const GURL& url, + net::CompletionCallback* callback); + // Populates 'collection' with info about all of the appcaches stored // within the service, 'callback' is invoked upon completion. The service // acquires a reference to the 'collection' until until completion. @@ -103,6 +108,7 @@ class AppCacheService { protected: class AsyncHelper; + class CanHandleOfflineHelper; class DeleteHelper; class GetInfoHelper; |