mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-28 15:23:51 +00:00
Bug 847741 - Part 3: DOM, Add readContacts in IccManager. r=smaug.
This commit is contained in:
parent
fb99ddbb38
commit
f3c12bc9f1
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user