Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(68)

Unified Diff: ppapi/api/private/ppb_network_list_private.idl

Issue 9585033: Revert 124797 - Add NetworkList/NetworkMonitor hooks and C++ wrappers. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | ppapi/c/private/ppb_network_list_private.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/api/private/ppb_network_list_private.idl
===================================================================
--- ppapi/api/private/ppb_network_list_private.idl (revision 124808)
+++ ppapi/api/private/ppb_network_list_private.idl (working copy)
@@ -17,24 +17,19 @@
[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 @@
* @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 @@
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 @@
/**
* @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);
« no previous file with comments | « no previous file | ppapi/c/private/ppb_network_list_private.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698