Bug 960865 - Part 1: add dun apn type constant in idls. r=vchang

This commit is contained in:
Jessica Jong 2014-02-28 18:04:55 +08:00
parent ded4b7664b
commit 948ed046c8
2 changed files with 4 additions and 2 deletions

View File

@ -20,12 +20,13 @@ interface nsINetworkInterfaceList : nsISupports
nsINetworkInterface getInterface(in long interfaceIndex);
};
[scriptable, uuid(e3cf9355-086e-46e3-bb3d-378bd58d578b)]
[scriptable, uuid(ee0e7cd7-1baa-44fd-86cb-f70acb549163)]
interface nsINetworkInterfaceListService : nsISupports
{
const long LIST_NOT_INCLUDE_MMS_INTERFACES = (1 << 0);
const long LIST_NOT_INCLUDE_SUPL_INTERFACES = (1 << 1);
const long LIST_NOT_INCLUDE_IMS_INTERFACES = (1 << 2);
const long LIST_NOT_INCLUDE_DUN_INTERFACES = (1 << 3);
/**
* Obtain a list of network interfaces that satisfy the specified condition.

View File

@ -9,7 +9,7 @@ interface nsIWifiTetheringCallback;
/**
* Information about networks that is exposed to network manager API consumers.
*/
[scriptable, uuid(4d738144-ac69-48ef-b97e-49cc627fae67)]
[scriptable, uuid(0e5e8fca-0f46-416c-8bee-b3fea4bbdfd3)]
interface nsINetworkInterface : nsISupports
{
const long NETWORK_STATE_UNKNOWN = -1;
@ -33,6 +33,7 @@ interface nsINetworkInterface : nsISupports
const long NETWORK_TYPE_MOBILE_SUPL = 3;
const long NETWORK_TYPE_WIFI_P2P = 4;
const long NETWORK_TYPE_MOBILE_IMS = 5;
const long NETWORK_TYPE_MOBILE_DUN = 6;
/**
* Network type. One of the NETWORK_TYPE_* constants.