| Index: ppapi/c/ppb_network_monitor.h
|
| diff --git a/ppapi/c/private/ppb_network_monitor_private.h b/ppapi/c/ppb_network_monitor.h
|
| similarity index 70%
|
| rename from ppapi/c/private/ppb_network_monitor_private.h
|
| rename to ppapi/c/ppb_network_monitor.h
|
| index 93c1ff03bd190bc0a26045210a5c534f2426b2bc..39449a887824fd19fcf24d8af61feaed18331c12 100644
|
| --- a/ppapi/c/private/ppb_network_monitor_private.h
|
| +++ b/ppapi/c/ppb_network_monitor.h
|
| @@ -3,12 +3,10 @@
|
| * found in the LICENSE file.
|
| */
|
|
|
| -/* From private/ppb_network_monitor_private.idl,
|
| - * modified Thu Mar 28 10:30:11 2013.
|
| - */
|
| +/* From ppb_network_monitor.idl modified Thu Aug 29 16:26:45 2013. */
|
|
|
| -#ifndef PPAPI_C_PRIVATE_PPB_NETWORK_MONITOR_PRIVATE_H_
|
| -#define PPAPI_C_PRIVATE_PPB_NETWORK_MONITOR_PRIVATE_H_
|
| +#ifndef PPAPI_C_PPB_NETWORK_MONITOR_H_
|
| +#define PPAPI_C_PPB_NETWORK_MONITOR_H_
|
|
|
| #include "ppapi/c/pp_bool.h"
|
| #include "ppapi/c/pp_instance.h"
|
| @@ -16,14 +14,12 @@
|
| #include "ppapi/c/pp_resource.h"
|
| #include "ppapi/c/pp_stdint.h"
|
|
|
| -#define PPB_NETWORKMONITOR_PRIVATE_INTERFACE_0_2 \
|
| - "PPB_NetworkMonitor_Private;0.2"
|
| -#define PPB_NETWORKMONITOR_PRIVATE_INTERFACE \
|
| - PPB_NETWORKMONITOR_PRIVATE_INTERFACE_0_2
|
| +#define PPB_NETWORKMONITOR_INTERFACE_1_0 "PPB_NetworkMonitor;1.0"
|
| +#define PPB_NETWORKMONITOR_INTERFACE PPB_NETWORKMONITOR_INTERFACE_1_0
|
|
|
| /**
|
| * @file
|
| - * This file defines the <code>PPB_NetworkMonitor_Private</code> interface.
|
| + * This file defines the <code>PPB_NetworkMonitor</code> interface.
|
| */
|
|
|
|
|
| @@ -35,8 +31,8 @@
|
| * <code>PPB_NetworkMonitor_Callback</code> is a callback function
|
| * type that is used to receive notifications about network
|
| * configuration changes. The <code>network_list</code> passed to this
|
| - * callback is a <code>PPB_NetworkList_Private</code> resource that
|
| - * contains current configuration of network interfaces.
|
| + * callback is a <code>PPB_NetworkList</code> resource that contains
|
| + * current configuration of network interfaces.
|
| */
|
| typedef void (*PPB_NetworkMonitor_Callback)(void* user_data,
|
| PP_Resource network_list);
|
| @@ -49,10 +45,10 @@ typedef void (*PPB_NetworkMonitor_Callback)(void* user_data,
|
| * @{
|
| */
|
| /**
|
| - * The <code>PPB_NetworkMonitor_Private</code> provides access to
|
| + * The <code>PPB_NetworkMonitor</code> provides access to
|
| * notifications of network configuration changes.
|
| */
|
| -struct PPB_NetworkMonitor_Private_0_2 {
|
| +struct PPB_NetworkMonitor_1_0 {
|
| /**
|
| * Starts network change monitoring. The specified
|
| * <code>callback</code> will be called on the main thread once
|
| @@ -82,16 +78,16 @@ struct PPB_NetworkMonitor_Private_0_2 {
|
| * @param[in] resource A <code>PP_Resource</code> resource.
|
| *
|
| * @return Returns <code>PP_TRUE</code> if <code>resource</code> is
|
| - * a <code>PPB_NetworkMonitor_Private</code>, <code>PP_FALSE</code>
|
| + * a <code>PPB_NetworkMonitor</code>, <code>PP_FALSE</code>
|
| * otherwise.
|
| */
|
| PP_Bool (*IsNetworkMonitor)(PP_Resource resource);
|
| };
|
|
|
| -typedef struct PPB_NetworkMonitor_Private_0_2 PPB_NetworkMonitor_Private;
|
| +typedef struct PPB_NetworkMonitor_1_0 PPB_NetworkMonitor;
|
| /**
|
| * @}
|
| */
|
|
|
| -#endif /* PPAPI_C_PRIVATE_PPB_NETWORK_MONITOR_PRIVATE_H_ */
|
| +#endif /* PPAPI_C_PPB_NETWORK_MONITOR_H_ */
|
|
|
|
|