From b8022e8ecfc18341386ccb9e54a8649d5634b9d9 Mon Sep 17 00:00:00 2001 From: "dwitte%stanford.edu" Date: Fri, 31 Oct 2003 08:44:00 +0000 Subject: [PATCH] staticify a couple of class methods. --- netwerk/cookie/src/nsCookieService.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/netwerk/cookie/src/nsCookieService.h b/netwerk/cookie/src/nsCookieService.h index eba4266a31ed..d362d3fd476e 100644 --- a/netwerk/cookie/src/nsCookieService.h +++ b/netwerk/cookie/src/nsCookieService.h @@ -58,7 +58,6 @@ class nsICookiePermission; class nsIPrefBranch; class nsIObserverService; class nsIURI; -class nsIPrompt; class nsIChannel; class nsITimer; class nsIFile; @@ -184,9 +183,9 @@ class nsCookieService : public nsICookieService PRInt32 SiteP3PPolicy(nsIURI *aCurrentURI, nsIChannel *aChannel); nsCookieStatus P3PDecision(nsIURI *aHostURI, nsIURI *aFirstURI, nsIChannel *aChannel); nsCookieStatus CheckPrefs(nsIURI *aHostURI, nsIURI *aFirstURI, nsIChannel *aChannel, const char *aCookieHeader); - PRBool CheckDomain(nsCookieAttributes &aCookie, nsIURI *aHostURI); + static PRBool CheckDomain(nsCookieAttributes &aCookie, nsIURI *aHostURI); static PRBool CheckPath(nsCookieAttributes &aCookie, nsIURI *aHostURI); - PRBool GetExpiry(nsCookieAttributes &aCookie, nsInt64 aServerTime, nsInt64 aCurrentTime, nsCookieStatus aStatus); + static PRBool GetExpiry(nsCookieAttributes &aCookie, nsInt64 aServerTime, nsInt64 aCurrentTime, nsCookieStatus aStatus); void RemoveAllFromMemory(); void RemoveExpiredCookies(nsInt64 aCurrentTime); PRBool FindCookie(const nsAFlatCString &aHost, const nsAFlatCString &aName, const nsAFlatCString &aPath, nsListIter &aIter);