summaryrefslogtreecommitdiff
path: root/netwerk/mime/nsMIMEHeaderParamImpl.h
diff options
context:
space:
mode:
Diffstat (limited to 'netwerk/mime/nsMIMEHeaderParamImpl.h')
-rw-r--r--netwerk/mime/nsMIMEHeaderParamImpl.h13
1 files changed, 7 insertions, 6 deletions
diff --git a/netwerk/mime/nsMIMEHeaderParamImpl.h b/netwerk/mime/nsMIMEHeaderParamImpl.h
index 8918ee3275..9d157b2609 100644
--- a/netwerk/mime/nsMIMEHeaderParamImpl.h
+++ b/netwerk/mime/nsMIMEHeaderParamImpl.h
@@ -29,13 +29,14 @@ private:
char **aLang,
nsAString& aResult);
- nsresult DoParameterInternal(const char *aHeaderValue,
- const char *aParamName,
+ nsresult DoParameterInternal(const nsACString& aHeaderValue,
+ const char* aParamName,
ParamDecoding aDecoding,
- char **aCharset,
- char **aLang,
- char **aResult);
-
+ char** aCharset,
+ char** aLang,
+ char** aResult);
+
+ static bool ContainsTrailingCharPastNull(const nsACString& aVal);
};
#endif