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

Unified Diff: ppapi/api/private/ppb_network_monitor_private.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
Index: ppapi/api/private/ppb_network_monitor_private.idl
diff --git a/ppapi/api/private/ppb_network_monitor_private.idl b/ppapi/api/private/ppb_network_monitor_private.idl
deleted file mode 100644
index eae06a3b12ec48512ee46dd53eb9ac465921f550..0000000000000000000000000000000000000000
--- a/ppapi/api/private/ppb_network_monitor_private.idl
+++ /dev/null
@@ -1,65 +0,0 @@
-/* Copyright (c) 2012 The Chromium Authors. All rights reserved.
- * Use of this source code is governed by a BSD-style license that can be
- * found in the LICENSE file.
- */
-
-/**
- * This file defines the <code>PPB_NetworkMonitor_Private</code> interface.
- */
-
-[generate_thunk]
-
-label Chrome {
- M31 = 0.3
-};
-
-/**
- * The <code>PPB_NetworkMonitor_Private</code> provides access to
- * notifications of network configuration changes.
- */
-interface PPB_NetworkMonitor_Private {
- /**
- * Creates a Network Monitor resource.
- *
- * @param[in] instance A <code>PP_Instance</code> identifying one instance of
- * a module.
- *
- * @return A <code>PP_Resource</code> corresponding to a network monitor or 0
- * on failure.
- */
- PP_Resource Create([in] PP_Instance instance);
-
-
- /**
- * Gets current network configuration. When called for the first time,
- * completes as soon as the current network configuration is received from
- * the browser. Each consequent call will wait for network list changes,
- * returning a new <code>PPB_NetworkList</code> resource every time.
- *
- * @param[in] network_monitor A <code>PP_Resource</code> corresponding to a
- * network monitor.
- * @param[out] network_list The <code>PPB_NetworkList<code> resource with the
- * current state of network interfaces.
- * @param[in] callback A <code>PP_CompletionCallback</code> to be called upon
- * completion.
- *
- * @return An int32_t containing an error code from <code>pp_errors.h</code>.
- * <code>PP_ERROR_NOACCESS</code> will be returned if the caller doesn't have
- * required permissions.
- */
- int32_t UpdateNetworkList([in] PP_Resource network_monitor,
- [out] PP_Resource network_list,
- [in] PP_CompletionCallback callback);
-
- /**
- * Determines if the specified <code>resource</code> is a
- * <code>NetworkMonitor</code> object.
- *
- * @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.
- */
- PP_Bool IsNetworkMonitor([in] PP_Resource resource);
-};

Powered by Google App Engine
This is Rietveld 408576698