summaryrefslogtreecommitdiffstats
path: root/netwerk/protocol/http/nsHttpHandler.h
diff options
context:
space:
mode:
authorMoonchild <mcwerewolf@gmail.com>2018-08-26 07:45:17 +0200
committerGitHub <noreply@github.com>2018-08-26 07:45:17 +0200
commit2dc1703c09b080b12e81895cafc1113e860cfe9a (patch)
tree98a0e285554ed33dafd3834261017c6b23fe3a17 /netwerk/protocol/http/nsHttpHandler.h
parent4cbcba7876e1d85e9fadeb20a1ce34c58ffd7b93 (diff)
parent02211f8448876cd7c72784380b9e9229959392bb (diff)
downloadUXP-2dc1703c09b080b12e81895cafc1113e860cfe9a.tar
UXP-2dc1703c09b080b12e81895cafc1113e860cfe9a.tar.gz
UXP-2dc1703c09b080b12e81895cafc1113e860cfe9a.tar.lz
UXP-2dc1703c09b080b12e81895cafc1113e860cfe9a.tar.xz
UXP-2dc1703c09b080b12e81895cafc1113e860cfe9a.zip
Merge pull request #733 from JustOff/PR_locale_changed_refresh
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.h3
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;