From 392f47f8024f3a710e6cddf2eda4126eca5d5252 Mon Sep 17 00:00:00 2001 From: "mscott%netscape.com" Date: Wed, 1 Nov 2000 08:03:22 +0000 Subject: [PATCH] Bug #56938 --> add a method for setting up a refresh uri given just a channel. r=sspitzer, sr=rpotts git-svn-id: svn://10.0.0.236/trunk@82137 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/webshell/public/nsIRefreshURI.idl | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/mozilla/webshell/public/nsIRefreshURI.idl b/mozilla/webshell/public/nsIRefreshURI.idl index 11a5adaf85a..0150bf93266 100644 --- a/mozilla/webshell/public/nsIRefreshURI.idl +++ b/mozilla/webshell/public/nsIRefreshURI.idl @@ -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. */