| Index: ppapi/api/ppb_network_monitor.idl
|
| diff --git a/ppapi/api/private/ppb_network_monitor_private.idl b/ppapi/api/ppb_network_monitor.idl
|
| similarity index 75%
|
| rename from ppapi/api/private/ppb_network_monitor_private.idl
|
| rename to ppapi/api/ppb_network_monitor.idl
|
| index eae06a3b12ec48512ee46dd53eb9ac465921f550..361f7cbbeb49a8b830b970249649dc2585ccacdb 100644
|
| --- a/ppapi/api/private/ppb_network_monitor_private.idl
|
| +++ b/ppapi/api/ppb_network_monitor.idl
|
| @@ -4,20 +4,25 @@
|
| */
|
|
|
| /**
|
| - * This file defines the <code>PPB_NetworkMonitor_Private</code> interface.
|
| + * This file defines the <code>PPB_NetworkMonitor</code> interface.
|
| */
|
|
|
| [generate_thunk]
|
|
|
| label Chrome {
|
| - M31 = 0.3
|
| + M31 = 1.0
|
| };
|
|
|
| /**
|
| - * The <code>PPB_NetworkMonitor_Private</code> provides access to
|
| - * notifications of network configuration changes.
|
| + * The <code>PPB_NetworkMonitor</code> allows to get network interfaces
|
| + * configuration and monitor network configuration changes.
|
| + *
|
| + * Permissions: Apps permission <code>socket</code> with subrule
|
| + * <code>network-state</code> is required for <code>UpdateNetworkList()</code>.
|
| + * For more details about network communication permissions, please see:
|
| + * http://developer.chrome.com/apps/app_network.html
|
| */
|
| -interface PPB_NetworkMonitor_Private {
|
| +interface PPB_NetworkMonitor {
|
| /**
|
| * Creates a Network Monitor resource.
|
| *
|
| @@ -57,9 +62,8 @@ interface PPB_NetworkMonitor_Private {
|
| *
|
| * @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>
|
| - * otherwise.
|
| + * @return Returns <code>PP_TRUE</code> if <code>resource</code> is a
|
| + * <code>PPB_NetworkMonitor</code>, <code>PP_FALSE</code> otherwise.
|
| */
|
| PP_Bool IsNetworkMonitor([in] PP_Resource resource);
|
| };
|
|
|