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

Unified Diff: ppapi/c/ppb_network_monitor.h

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
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 71%
rename from ppapi/c/private/ppb_network_monitor_private.h
rename to ppapi/c/ppb_network_monitor.h
index 29aba9816727e8925a5308d22d29f7a8053cc89a..e83a52154abd66302b2c1e4a3a972a674ac9bd39 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 Wed Sep 4 14:16:07 2013.
- */
+/* From ppb_network_monitor.idl modified Thu Sep 5 12:10:00 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_completion_callback.h"
@@ -17,14 +15,12 @@
#include "ppapi/c/pp_resource.h"
#include "ppapi/c/pp_stdint.h"
-#define PPB_NETWORKMONITOR_PRIVATE_INTERFACE_0_3 \
- "PPB_NetworkMonitor_Private;0.3"
-#define PPB_NETWORKMONITOR_PRIVATE_INTERFACE \
- PPB_NETWORKMONITOR_PRIVATE_INTERFACE_0_3
+#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.
*/
@@ -33,10 +29,10 @@
* @{
*/
/**
- * 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.
*/
-struct PPB_NetworkMonitor_Private_0_3 {
+struct PPB_NetworkMonitor_1_0 {
/**
* Creates a Network Monitor resource.
*
@@ -74,16 +70,16 @@ struct PPB_NetworkMonitor_Private_0_3 {
* @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_3 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_ */

Powered by Google App Engine
This is Rietveld 408576698