author | Jessica Jong <jjong@mozilla.com> |
Wed, 08 Jan 2014 18:54:33 +0800 | |
changeset 162525 | 3826c3a2d5ee7318da7e170c10d685f65d39b5b6 |
parent 162524 | 5c1a40d552023a5a346bb6cceceb5838ad545e26 |
child 162526 | 3fd3861f9778cab04752cf8cc2593430619d4f03 |
push id | 25958 |
push user | ryanvm@gmail.com |
push date | Wed, 08 Jan 2014 20:22:21 +0000 |
treeherder | mozilla-central@8988416e489d [default view] [failures only] |
perfherder | [talos] [build metrics] [platform microbench] (compared to previous push) |
reviewers | hsinyi |
bugs | 952371 |
milestone | 29.0a1 |
first release with | nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
|
last release without | nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
|
dom/network/interfaces/nsIMobileConnectionProvider.idl | file | annotate | diff | comparison | revisions |
--- a/dom/network/interfaces/nsIMobileConnectionProvider.idl +++ b/dom/network/interfaces/nsIMobileConnectionProvider.idl @@ -30,29 +30,38 @@ interface nsIMobileConnectionListener : void notifyIccChanged(); void notifyRadioStateChanged(); }; /** * XPCOM component (in the content process) that provides the mobile * network information. */ -[scriptable, uuid(0e027520-dd87-461d-88a6-c3e46369c03c)] +[scriptable, uuid(55b8d918-8631-4d72-a9d7-f8c9536d6e6f)] interface nsIMobileConnectionProvider : nsISupports { /** * Called when a content process registers receiving unsolicited messages from * RadioInterfaceLayer in the chrome process. Only a content process that has * the 'mobileconnection' permission is allowed to register. */ void registerMobileConnectionMsg(in unsigned long clientId, in nsIMobileConnectionListener listener); void unregisterMobileConnectionMsg(in unsigned long clientId, in nsIMobileConnectionListener listener); + /** + * These two fields require the 'mobilenetwork' permission. + */ + DOMString getLastKnownNetwork(in unsigned long clientId); + DOMString getLastKnownHomeNetwork(in unsigned long clientId); + + /** + * All fields below require the 'mobileconnection' permission. + */ nsIDOMMozMobileConnectionInfo getVoiceConnectionInfo(in unsigned long clientId); nsIDOMMozMobileConnectionInfo getDataConnectionInfo(in unsigned long clientId); DOMString getIccId(in unsigned long clientId); DOMString getNetworkSelectionMode(in unsigned long clientId); DOMString getRadioState(in unsigned long clientId); nsIDOMDOMRequest getNetworks(in unsigned long clientId, in nsIDOMWindow window);