зеркало из https://github.com/mozilla/gecko-dev.git
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:
Родитель
a8e0e1d9ce
Коммит
d404b99597
|
@ -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)
|
||||
{
|
||||
|
|
Загрузка…
Ссылка в новой задаче