mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-03-01 13:57:32 +00:00
Bug #56938 --> add a method for setting up a refresh uri given just a channel.
r=sspitzer, sr=rpotts
This commit is contained in:
parent
b47f424cf7
commit
61575fcf7b
@ -21,6 +21,7 @@
|
||||
|
||||
#include "nsISupports.idl"
|
||||
#include "nsIURI.idl"
|
||||
interface nsIChannel;
|
||||
|
||||
[scriptable, uuid(69EFC430-2EFE-11d2-9E5D-006008BF092E)]
|
||||
interface nsIRefreshURI : nsISupports {
|
||||
@ -33,6 +34,12 @@ interface nsIRefreshURI : nsISupports {
|
||||
*/
|
||||
void refreshURI(in nsIURI aURI, in long aMillis, in boolean aRepeat);
|
||||
|
||||
/**
|
||||
* Checks the passed in channel to see if there is a refresh header, if there is,
|
||||
* will setup a refreahURI by calling refreshURI
|
||||
*/
|
||||
void setupRefreshURI(in nsIChannel aChannel);
|
||||
|
||||
/**
|
||||
* Cancels all timer loads.
|
||||
*/
|
||||
|
Loading…
x
Reference in New Issue
Block a user