Bug 847741 - Part 3: DOM, Add readContacts in IccManager. r=smaug.

This commit is contained in:
Yoshi Huang 2013-03-06 14:09:50 +08:00
parent fb99ddbb38
commit f3c12bc9f1

View File

@ -157,6 +157,16 @@ IccManager::IccCloseChannel(int32_t aChannel, nsIDOMDOMRequest** aRequest)
return mProvider->IccCloseChannel(GetOwner(), aChannel, aRequest);
}
NS_IMETHODIMP
IccManager::ReadContacts(const nsAString& aContactType, nsIDOMDOMRequest** aRequest)
{
if (!mProvider) {
return NS_ERROR_FAILURE;
}
return mProvider->ReadContacts(GetOwner(), aContactType, aRequest);
}
NS_IMETHODIMP
IccManager::UpdateContact(const nsAString& aContactType,
nsIDOMContact* aContact,