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

Unified Diff: ppapi/api/private/ppb_flash_net_connector.idl

Issue 8511032: Make the Pepper Flash net address just private, not Flash-specific. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 1 month 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_flash_net_connector.idl
diff --git a/ppapi/api/private/ppb_flash_net_connector.idl b/ppapi/api/private/ppb_flash_net_connector.idl
deleted file mode 100644
index 3886dad033fdce45175e099c809f544601c9c072..0000000000000000000000000000000000000000
--- a/ppapi/api/private/ppb_flash_net_connector.idl
+++ /dev/null
@@ -1,41 +0,0 @@
-/* Copyright (c) 2011 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 is an opaque type holding a network address. */
-struct PP_Flash_NetAddress {
- uint32_t size;
- [fixed=128] uint8_t data;
-};
-
-interface PPB_Flash_NetConnector_0_1 {
- PP_Resource Create(
- [in] PP_Instance instance_id);
- PP_Bool IsFlashNetConnector(
- [in] PP_Resource resource_id);
-
- /* Connect to a TCP port given as a host-port pair. The local and remote
- * addresses of the connection (if successful) are returned in
- * |local_addr_out| and |remote_addr_out|, respectively, if non-null.
- */
- int32_t ConnectTcp(
- [in] PP_Resource connector_id,
- [in] str_t host,
- [in] uint16_t port,
- [out] PP_FileHandle socket_out,
- [out] PP_Flash_NetAddress local_addr_out,
- [out] PP_Flash_NetAddress remote_addr_out,
- [in] PP_CompletionCallback callback);
-
- /* Same as |ConnectTcp()|, but connecting to the address given by |addr|. A
- * typical use-case would be for reconnections.
- */
- int32_t ConnectTcpAddress(
- [in] PP_Resource connector_id,
- [in] PP_Flash_NetAddress addr,
- [out] PP_FileHandle socket_out,
- [out] PP_Flash_NetAddress local_addr_out,
- [out] PP_Flash_NetAddress remote_addr_out,
- [in] PP_CompletionCallback callback);
-};

Powered by Google App Engine
This is Rietveld 408576698