Bug 978709 - 2.a/6: remove nsIRILDataCallback::receiveDataCallList. r=hsinyi

nsIRILDataCallback::receiveDataCallList has been obsoleted for a long
long time and all the existing classes that implement
nsIRILDataCallback leave the function body empty.  Since we're going
to change the object layout of a |datacall| JS object, removing
related but obsoleted functions saves us some time.
This commit is contained in:
Vicamo Yang 2014-03-29 15:18:10 +08:00
parent 612f4dfdfc
commit 4672fd7378
3 changed files with 1 additions and 25 deletions

View File

@ -791,13 +791,6 @@ GonkGPSGeolocationProvider::DataCallStateChanged(nsIRILDataCallInfo* aDataCall)
return NS_OK;
}
NS_IMETHODIMP
GonkGPSGeolocationProvider::ReceiveDataCallList(nsIRILDataCallInfo** aDataCalls,
uint32_t aLength)
{
return NS_OK;
}
/** nsISettingsServiceCallback **/
NS_IMETHODIMP

View File

@ -1557,8 +1557,6 @@ DataConnectionHandler.prototype = {
* Handle data call list.
*/
handleDataCallList: function(message) {
this._deliverDataCallCallback("receiveDataCallList",
[message.datacalls, message.datacalls.length]);
},
};
@ -4614,9 +4612,6 @@ RILNetworkInterface.prototype = {
}
},
receiveDataCallList: function(dataCalls, length) {
},
// Helpers
cid: null,

View File

@ -38,7 +38,7 @@ interface nsIRILDataCallInfo : nsISupports
readonly attribute jsval dns;
};
[scriptable, uuid(5bcac053-c245-46f0-bb45-d0039bfb89f5)]
[scriptable, uuid(485d9dcb-a6b3-4870-ae44-49700bc68eef)]
interface nsIRILDataCallback : nsISupports
{
/**
@ -48,18 +48,6 @@ interface nsIRILDataCallback : nsISupports
* A nsIRILDataCallInfo object.
*/
void dataCallStateChanged(in nsIRILDataCallInfo dataCall);
/**
* Called when nsIRadioInterfaceLayer is asked to enumerate the current
* data call state.
*
* @param datacalls
* Array of nsIRILDataCallInfo objects.
* @param length
* Lenght of the aforementioned array.
*/
void receiveDataCallList([array,size_is(length)] in nsIRILDataCallInfo dataCalls,
in unsigned long length);
};
[scriptable, uuid(c0c5cb9f-6372-4b5a-b74c-baacc2da5e4f)]