summaryrefslogtreecommitdiffstats
path: root/ppapi/api
diff options
context:
space:
mode:
authorsergeyu@chromium.org <sergeyu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-03-03 01:20:37 +0000
committersergeyu@chromium.org <sergeyu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-03-03 01:20:37 +0000
commitd7a36f980fd5857c912f219c4897bf7677762123 (patch)
tree82cdd7aa2282beacf6c64ef791c93cbee9af605e /ppapi/api
parenta4605c5a23b4d2fc5f15b8ab40293b6ecf223ea6 (diff)
downloadchromium_src-d7a36f980fd5857c912f219c4897bf7677762123.zip
chromium_src-d7a36f980fd5857c912f219c4897bf7677762123.tar.gz
chromium_src-d7a36f980fd5857c912f219c4897bf7677762123.tar.bz2
Revert 124797 - Add NetworkList/NetworkMonitor hooks and C++ wrappers.
BUG=114808 Review URL: http://codereview.chromium.org/9545010 TBR=sergeyu@chromium.org Review URL: https://chromiumcodereview.appspot.com/9585033 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@124809 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ppapi/api')
-rw-r--r--ppapi/api/private/ppb_network_list_private.idl25
1 files changed, 10 insertions, 15 deletions
diff --git a/ppapi/api/private/ppb_network_list_private.idl b/ppapi/api/private/ppb_network_list_private.idl
index 540aa1d..00c8a0f 100644
--- a/ppapi/api/private/ppb_network_list_private.idl
+++ b/ppapi/api/private/ppb_network_list_private.idl
@@ -17,24 +17,19 @@ label Chrome {
[assert_size(4)]
enum PP_NetworkListType_Private {
/**
- * Type of the network interface is not known.
- */
- PP_NETWORKLIST_UNKNOWN = 0,
-
- /**
* Wired Ethernet network.
*/
- PP_NETWORKLIST_ETHERNET = 1,
+ PP_NETWORKLIST_ETHERNET = 0,
/**
* Wireless Wi-Fi network.
*/
- PP_NETWORKLIST_WIFI = 2,
+ PP_NETWORKLIST_WIFI = 1,
/**
* Cellular network (e.g. LTE).
*/
- PP_NETWORKLIST_CELLULAR = 3
+ PP_NETWORKLIST_CELLULAR = 2
};
/**
@@ -90,15 +85,15 @@ interface PPB_NetworkList_Private {
* @return Returns type of the network interface with the specified
* <code>index</code>.
*/
- PP_NetworkListType_Private GetType([in] PP_Resource resource,
- [in] uint32_t index);
+ PP_NetworkListType_Private GetType([in] PP_Resource resource,
+ [in] uint32_t index);
/**
* @return Returns current state of the network interface with the
* specified <code>index</code>.
*/
- PP_NetworkListState_Private GetState([in] PP_Resource resource,
- [in] uint32_t index);
+ PP_NetworkListState_Private GetState([in] PP_Resource resource,
+ [in] uint32_t index);
/**
* Gets list of IP addresses for the network interface with the
@@ -113,8 +108,8 @@ interface PPB_NetworkList_Private {
int32_t GetIpAddresses(
[in] PP_Resource resource,
[in] uint32_t index,
- [inout, size_is(count)] PP_NetAddress_Private[] addresses,
- [in] uint32_t count);
+ [out, size_is(count)] PP_NetAddress_Private[] addresses,
+ [in] int32_t count);
/**
* @return Returns display name for the network interface with the
@@ -125,7 +120,7 @@ interface PPB_NetworkList_Private {
/**
* @return Returns MTU for the network interface with the specified
- * <code>index</code> or 0 if MTU is unknown.
+ * <code>index</code>.
*/
uint32_t GetMTU([in] PP_Resource resource,
[in] uint32_t index);