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

Unified Diff: ppapi/native_client/src/shared/ppapi_proxy/browser_globals.cc

Issue 10823187: NaCl proxy for PPB_NetworkMonitor_Private (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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/native_client/src/shared/ppapi_proxy/browser_globals.cc
diff --git a/ppapi/native_client/src/shared/ppapi_proxy/browser_globals.cc b/ppapi/native_client/src/shared/ppapi_proxy/browser_globals.cc
index e50b2e602a43ede1041c2485d5262f1df1cae18e..3214fb42ae74104fa6d6d7582eaf0d230bfb6994 100644
--- a/ppapi/native_client/src/shared/ppapi_proxy/browser_globals.cc
+++ b/ppapi/native_client/src/shared/ppapi_proxy/browser_globals.cc
@@ -321,6 +321,20 @@ const PPB_NetAddress_Private* PPBNetAddressPrivateInterface() {
return ppb;
}
+const PPB_NetworkList_Private* PPBNetworkListPrivateInterface() {
+ static const PPB_NetworkList_Private* ppb =
+ static_cast<const PPB_NetworkList_Private*>(
+ GetBrowserInterfaceSafe(PPB_NETWORKLIST_PRIVATE_INTERFACE));
+ return ppb;
+}
+
+const PPB_NetworkMonitor_Private* PPBNetworkMonitorPrivateInterface() {
+ static const PPB_NetworkMonitor_Private* ppb =
+ static_cast<const PPB_NetworkMonitor_Private*>(
+ GetBrowserInterfaceSafe(PPB_NETWORKMONITOR_PRIVATE_INTERFACE));
+ return ppb;
+}
+
const PPB_URLLoader* PPBURLLoaderInterface() {
static const PPB_URLLoader* ppb =
static_cast<const PPB_URLLoader*>(

Powered by Google App Engine
This is Rietveld 408576698