return NS_ERROR_ILLEGAL_VALUE; }
  nsresult  SetCounterResetAt(PRUint32 aIndex, const nsString& aCounter, PRInt32 aValue) {    if (aIndex < mResetCount) {      mResets[aIndex].mCounter = aCounter;      mResets[aIndex].mValue = aValue;      return NS_OK;    }    return NS_ERROR_ILLEGAL_VALUE;  }