mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 818393 - Part 2: Call barring DOM implementation. r=htsai, smaug.
--- dom/network/src/MobileConnection.cpp | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+)
This commit is contained in:
parent
b43baef554
commit
c35a3a1739
@ -391,6 +391,32 @@ MobileConnection::SetCallForwardingOption(nsIDOMMozMobileCFInfo* aCFInfo,
|
||||
return mProvider->SetCallForwardingOption(GetOwner(), aCFInfo, aRequest);
|
||||
}
|
||||
|
||||
NS_IMETHODIMP
|
||||
MobileConnection::GetCallBarringOption(const JS::Value& aOption,
|
||||
nsIDOMDOMRequest** aRequest)
|
||||
{
|
||||
*aRequest = nullptr;
|
||||
|
||||
if (!mProvider) {
|
||||
return NS_ERROR_FAILURE;
|
||||
}
|
||||
|
||||
return mProvider->GetCallBarringOption(GetOwner(), aOption, aRequest);
|
||||
}
|
||||
|
||||
NS_IMETHODIMP
|
||||
MobileConnection::SetCallBarringOption(const JS::Value& aOption,
|
||||
nsIDOMDOMRequest** aRequest)
|
||||
{
|
||||
*aRequest = nullptr;
|
||||
|
||||
if (!mProvider) {
|
||||
return NS_ERROR_FAILURE;
|
||||
}
|
||||
|
||||
return mProvider->SetCallBarringOption(GetOwner(), aOption, aRequest);
|
||||
}
|
||||
|
||||
NS_IMETHODIMP
|
||||
MobileConnection::GetCallWaitingOption(nsIDOMDOMRequest** aRequest)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user