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:
Szu-Yu Chen [:aknow] 2013-05-21 13:12:59 +08:00
Родитель a8e0e1d9ce
Коммит d404b99597
1 изменённых файлов: 26 добавлений и 0 удалений

Просмотреть файл

@ -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)
{