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

Unified Diff: ppapi/native_client/src/shared/ppapi_proxy/ppb_network_list_private.srpc

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/ppb_network_list_private.srpc
diff --git a/ppapi/native_client/src/shared/ppapi_proxy/ppb_network_list_private.srpc b/ppapi/native_client/src/shared/ppapi_proxy/ppb_network_list_private.srpc
new file mode 100644
index 0000000000000000000000000000000000000000..086f1bc37c30a4163880590c96275b009d016ba5
--- /dev/null
+++ b/ppapi/native_client/src/shared/ppapi_proxy/ppb_network_list_private.srpc
@@ -0,0 +1,68 @@
+# Copyright (c) 2012 The Native Client 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 declares the RPC methods used to implement
+# PPB_NetworkList_Private calls from the plugin. The functions are described
+# in ppapi/c/private/ppb_network_list.h.
+
+{
+ 'name': 'PpbNetworkListPrivate',
+ 'rpcs': [
+ {'name': 'PPB_NetworkList_Private_IsNetworkList',
+ 'inputs': [['resource', 'PP_Resource'],
+ ],
+ 'outputs': [['out_bool', 'int32_t'],
+ ]
+ },
+ {'name': 'PPB_NetworkList_Private_GetCount',
+ 'inputs': [['resource', 'PP_Resource'],
+ ],
+ 'outputs': [['count', 'int32_t'],
+ ]
+ },
+ {'name': 'PPB_NetworkList_Private_GetName',
+ 'inputs': [['resource', 'PP_Resource'],
+ ['index', 'int32_t'],
+ ],
+ 'outputs': [['name', 'char[]'],
+ ]
+ },
+ {'name': 'PPB_NetworkList_Private_GetType',
+ 'inputs': [['resource', 'PP_Resource'],
+ ['index', 'int32_t'],
+ ],
+ 'outputs': [['type', 'int32_t'],
+ ]
+ },
+ {'name': 'PPB_NetworkList_Private_GetState',
+ 'inputs': [['resource', 'PP_Resource'],
+ ['index', 'int32_t'],
+ ],
+ 'outputs': [['state', 'int32_t'],
+ ]
+ },
+ {'name': 'PPB_NetworkList_Private_GetIpAddresses',
+ 'inputs': [['resource', 'PP_Resource'],
+ ['index', 'int32_t'],
+ ],
+ 'outputs': [['addr', 'char[]'], # PP_NetAddress_Private[]
+ ['addresses_count', 'int32_t'],
+ ]
+ },
+ {'name': 'PPB_NetworkList_Private_GetDisplayName',
+ 'inputs': [['resource', 'PP_Resource'],
+ ['index', 'int32_t'],
+ ],
+ 'outputs': [['display_name', 'char[]'],
+ ]
+ },
+ {'name': 'PPB_NetworkList_Private_GetMTU',
+ 'inputs': [['resource', 'PP_Resource'],
+ ['index', 'int32_t'],
+ ],
+ 'outputs': [['mtu', 'int32_t'],
+ ]
+ },
+ ]
+}

Powered by Google App Engine
This is Rietveld 408576698