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

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, 4 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
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 83%
rename from ppapi/api/private/ppb_network_monitor_private.idl
rename to ppapi/api/ppb_network_monitor.idl
index fe264a616bc16326f969518501f358709646b2d1..abe1e64ce8ab09b0829a0ba8d3d878c2118e0ba6 100644
--- a/ppapi/api/private/ppb_network_monitor_private.idl
+++ b/ppapi/api/ppb_network_monitor.idl
@@ -4,29 +4,29 @@
*/
/**
- * This file defines the <code>PPB_NetworkMonitor_Private</code> interface.
+ * This file defines the <code>PPB_NetworkMonitor</code> interface.
*/
label Chrome {
- M19 = 0.2
+ M31 = 1.0
};
/**
* <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([inout] mem_t user_data,
[in] PP_Resource network_list);
/**
- * The <code>PPB_NetworkMonitor_Private</code> provides access to
+ * The <code>PPB_NetworkMonitor</code> provides access to
* notifications of network configuration changes.
*/
-interface PPB_NetworkMonitor_Private {
+interface PPB_NetworkMonitor {
/**
* Starts network change monitoring. The specified
yzshen1 2013/08/30 17:31:46 There were discussions about how event notificatio
* <code>callback</code> will be called on the main thread once
yzshen1 2013/08/30 17:31:46 We should issue the callback on the thread where C
@@ -57,7 +57,7 @@ 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>
+ * a <code>PPB_NetworkMonitor</code>, <code>PP_FALSE</code>
* otherwise.
*/
PP_Bool IsNetworkMonitor([in] PP_Resource resource);

Powered by Google App Engine
This is Rietveld 408576698