forked from mirrors/gecko-dev
Bug 1890593 - GetSystemWPADSetting for libproxy-enabled builds r=jesup
In #621429 a call to nsUnixSystemProxySettings::GetSystemWPADSetting() was added, but that function is not available for builds with MOZ_ENABLE_LIBPROXY. The funtion is trivial enough to just copy it across - else there'd more boilerplate than actual code. Differential Revision: https://phabricator.services.mozilla.com/D207197
This commit is contained in:
parent
03de1a202c
commit
0e41163647
1 changed files with 6 additions and 0 deletions
|
|
@ -99,6 +99,12 @@ nsresult nsUnixSystemProxySettings::GetProxyForURI(const nsACString& aSpec,
|
|||
return NS_OK;
|
||||
}
|
||||
|
||||
NS_IMETHODIMP
|
||||
nsUnixSystemProxySettings::GetSystemWPADSetting(bool* aSystemWPADSetting) {
|
||||
*aSystemWPADSetting = false;
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
NS_IMPL_COMPONENT_FACTORY(nsUnixSystemProxySettings) {
|
||||
return do_AddRef(new nsUnixSystemProxySettings()).downcast<nsISupports>();
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue