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

Unified Diff: ppapi/api/ppb_network_monitor.idl

Issue 23450012: Make NetworkList and NetworkMonitor APIs public (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 3 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/ppb_network_list.idl ('k') | ppapi/api/private/ppb_network_list_private.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
};
« no previous file with comments | « ppapi/api/ppb_network_list.idl ('k') | ppapi/api/private/ppb_network_list_private.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698