mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
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:
parent
612f4dfdfc
commit
4672fd7378
@ -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
|
||||
|
@ -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,
|
||||
|
@ -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)]
|
||||
|
Loading…
Reference in New Issue
Block a user