nsIOfflineCacheUpdateService Interface Reference

import "nsIOfflineCacheUpdate.idl";

Inheritance diagram for nsIOfflineCacheUpdateService:

Inheritance graph
[legend]
Collaboration diagram for nsIOfflineCacheUpdateService:

Collaboration graph
[legend]

List of all members.

Public Member Functions

nsIOfflineCacheUpdate getUpdate (in unsigned long index)
nsIOfflineCacheUpdate scheduleUpdate (in nsIURI aManifestURI, in nsIURI aDocumentURI)
 Schedule a cache update for a given offline manifest.
void scheduleOnDocumentStop (in nsIURI aManifestURI, in nsIURI aDocumentURI, in nsIDOMDocument aDocument)
 Schedule a cache update for a manifest when the document finishes loading.

Public Attributes

const unsigned long ALLOW_NO_WARN = 3
 Constants for the offline-app permission.
readonly attribute unsigned long numUpdates
 Access to the list of cache updates that have been scheduled.


Member Function Documentation

nsIOfflineCacheUpdate nsIOfflineCacheUpdateService::getUpdate ( in unsigned long  index  ) 

nsIOfflineCacheUpdate nsIOfflineCacheUpdateService::scheduleUpdate ( in nsIURI  aManifestURI,
in nsIURI  aDocumentURI 
)

If an existing update is scheduled or running, that update will be returned. Otherwise a new update will be scheduled.

void nsIOfflineCacheUpdateService::scheduleOnDocumentStop ( in nsIURI  aManifestURI,
in nsIURI  aDocumentURI,
in nsIDOMDocument  aDocument 
)


Member Data Documentation

XXX: This isn't a great place for this, but it's really the only private offline-app-related interface Allow the domain to use offline APIs, and don't warn about excessive usage.


The documentation for this interface was generated from the following file:

Generated Mozilla by doxygen 1.5.6