views:

121

answers:

1

Referring to nsICacheService (https://developer.mozilla.org/en/NsICacheService) and nsICacheVisitor (https://developer.mozilla.org/en/nsICacheVisitor):

  1. Where do I get an instance of nsICacheVisitor?
  2. Where do I get a list of devices so that I can call visitEntry() and visitDevice()?
+2  A: 

The nsICacheVisitor is an interface that you implement and pass to the visitEntries method on nsICacheService. See this test file for example code.

sdwilsh
So it is. Cheers.
Nathan Ridley