summaryrefslogtreecommitdiffstats
path: root/netwerk/protocol/http/nsHttpHandler.h
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@wolfbeast.com>2020-04-05 11:48:09 +0200
committerwolfbeast <mcwerewolf@wolfbeast.com>2020-04-05 11:48:09 +0200
commitd0cf67573ca6d69c9f00c7e9a70a64158fbca304 (patch)
treeb5f82e2f921cc61ae47950184851b624cdcbddf4 /netwerk/protocol/http/nsHttpHandler.h
parentfd5e25ff472b3fd106c7028b150a637bd86e164f (diff)
downloadUXP-d0cf67573ca6d69c9f00c7e9a70a64158fbca304.tar
UXP-d0cf67573ca6d69c9f00c7e9a70a64158fbca304.tar.gz
UXP-d0cf67573ca6d69c9f00c7e9a70a64158fbca304.tar.lz
UXP-d0cf67573ca6d69c9f00c7e9a70a64158fbca304.tar.xz
UXP-d0cf67573ca6d69c9f00c7e9a70a64158fbca304.zip
Issue #1505 - Rebuild application version string
To respond dynamically to the pref change, the mAppVersion string needs to be rebuilt. Includes some minor improvements for corner cases and removes leftover b2g junk.
Diffstat (limited to 'netwerk/protocol/http/nsHttpHandler.h')
-rw-r--r--netwerk/protocol/http/nsHttpHandler.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/netwerk/protocol/http/nsHttpHandler.h b/netwerk/protocol/http/nsHttpHandler.h
index 402147577..36fda6ace 100644
--- a/netwerk/protocol/http/nsHttpHandler.h
+++ b/netwerk/protocol/http/nsHttpHandler.h
@@ -391,6 +391,7 @@ private:
//
// Useragent/prefs helper methods
//
+ void BuildAppVersion();
void BuildUserAgent();
void InitUserAgentComponents();
void PrefsChanged(nsIPrefBranch *prefs, const char *pref);