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

Unified Diff: ppapi/c/private/ppb_network_list_private.h

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 | « ppapi/api/private/ppb_network_list_private.idl ('k') | ppapi/cpp/private/network_list_private.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/c/private/ppb_network_list_private.h
===================================================================
--- ppapi/c/private/ppb_network_list_private.h (revision 124808)
+++ ppapi/c/private/ppb_network_list_private.h (working copy)
@@ -4,7 +4,7 @@
*/
/* From private/ppb_network_list_private.idl,
- * modified Thu Mar 1 16:24:33 2012.
+ * modified Fri Feb 24 10:14:10 2012.
*/
#ifndef PPAPI_C_PRIVATE_PPB_NETWORK_LIST_PRIVATE_H_
@@ -35,21 +35,17 @@
*/
typedef enum {
/**
- * 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
} PP_NetworkListType_Private;
PP_COMPILE_ASSERT_SIZE_IN_BYTES(PP_NetworkListType_Private, 4);
@@ -126,8 +122,8 @@
*/
int32_t (*GetIpAddresses)(PP_Resource resource,
uint32_t index,
- struct PP_NetAddress_Private addresses[],
- uint32_t count);
+ struct PP_NetAddress_Private* addresses[],
+ int32_t count);
/**
* @return Returns display name for the network interface with the
* specified <code>index</code>.
@@ -135,7 +131,7 @@
struct PP_Var (*GetDisplayName)(PP_Resource resource, uint32_t index);
/**
* @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)(PP_Resource resource, uint32_t index);
};
« no previous file with comments | « ppapi/api/private/ppb_network_list_private.idl ('k') | ppapi/cpp/private/network_list_private.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698