diff options
author | JustOff <Off.Just.Off@gmail.com> | 2018-08-25 17:50:02 +0300 |
---|---|---|
committer | JustOff <Off.Just.Off@gmail.com> | 2018-08-25 17:50:02 +0300 |
commit | 02211f8448876cd7c72784380b9e9229959392bb (patch) | |
tree | ef6162073c537639db302ba777f0d62d5fffcabe /netwerk/protocol/http/nsHttpHandler.h | |
parent | 74c6c585ab519e3314bdf6b0fa23d8aa757b78a5 (diff) | |
download | UXP-02211f8448876cd7c72784380b9e9229959392bb.tar UXP-02211f8448876cd7c72784380b9e9229959392bb.tar.gz UXP-02211f8448876cd7c72784380b9e9229959392bb.tar.lz UXP-02211f8448876cd7c72784380b9e9229959392bb.tar.xz UXP-02211f8448876cd7c72784380b9e9229959392bb.zip |
Refresh nsStringBundleService and nsHttpHandler when the browser locale is changed
Diffstat (limited to 'netwerk/protocol/http/nsHttpHandler.h')
-rw-r--r-- | netwerk/protocol/http/nsHttpHandler.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/netwerk/protocol/http/nsHttpHandler.h b/netwerk/protocol/http/nsHttpHandler.h index 0904af893..848dd25b1 100644 --- a/netwerk/protocol/http/nsHttpHandler.h +++ b/netwerk/protocol/http/nsHttpHandler.h @@ -384,7 +384,7 @@ private: void PrefsChanged(nsIPrefBranch *prefs, const char *pref); nsresult SetAccept(const char *); - nsresult SetAcceptLanguages(const char *); + nsresult SetAcceptLanguages(); nsresult SetAcceptEncodings(const char *, bool mIsSecure); nsresult InitConnectionMgr(); @@ -491,6 +491,7 @@ private: nsCString mUserAgent; nsXPIDLCString mUserAgentOverride; bool mUserAgentIsDirty; // true if mUserAgent should be rebuilt + bool mAcceptLanguagesIsDirty; bool mPromptTempRedirect; |