diff options
author | wolfbeast <mcwerewolf@wolfbeast.com> | 2020-04-05 11:48:09 +0200 |
---|---|---|
committer | wolfbeast <mcwerewolf@wolfbeast.com> | 2020-04-05 12:15:10 +0200 |
commit | d9c31941e79b33b0f50345abed13925cb37f0399 (patch) | |
tree | b693524288024c61a39a376bcbd6c9f2c38a95e1 /netwerk/protocol/http/nsHttpHandler.h | |
parent | 2c2d82d310b4966bd81260ec7c749a08067376a1 (diff) | |
download | UXP-d9c31941e79b33b0f50345abed13925cb37f0399.tar UXP-d9c31941e79b33b0f50345abed13925cb37f0399.tar.gz UXP-d9c31941e79b33b0f50345abed13925cb37f0399.tar.lz UXP-d9c31941e79b33b0f50345abed13925cb37f0399.tar.xz UXP-d9c31941e79b33b0f50345abed13925cb37f0399.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.h | 1 |
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); |