(mCookieCount++, name, value, isDomain, host, path, isSecure, expires,
(mCookieIndex++, name, value, &isDomain, host, path, &isSecure, &expires,
        NS_IMETHOD GetNext(nsISupports **result)         {          nsCAutoString name;          nsCAutoString value;          PRBool isDomain;          nsCAutoString host;          nsCAutoString path;          PRBool isSecure;          PRUint64 expires;          nsCookieStatus status;          nsCookiePolicy policy;          nsresult rv = COOKIE_Enumerate            (mCookieCount++, name, value, isDomain, host, path, isSecure, expires,              status, policy);          if (NS_SUCCEEDED(rv)) {            nsICookie *cookie =              new nsCookie(name, value, isDomain, host, path, isSecure, expires,                           status, policy);            *result = cookie;            NS_ADDREF(*result);          } else {            *result = nsnull;          }          return rv;        }