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

Unified Diff: chrome/common/extensions/api/webrtc_cast_udp_transport.idl

Issue 83043005: Cast Extensions API: Factory method for creating a cast session (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fixed scope Created 7 years 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: chrome/common/extensions/api/webrtc_cast_udp_transport.idl
diff --git a/chrome/common/extensions/api/webrtc_cast_udp_transport.idl b/chrome/common/extensions/api/webrtc_cast_udp_transport.idl
index 9e4cbf252c0e2025af44acc569bf5ef4f41d6e9d..26ad6e594abfe701c5fa736ec17e561bcb3f1df7 100644
--- a/chrome/common/extensions/api/webrtc_cast_udp_transport.idl
+++ b/chrome/common/extensions/api/webrtc_cast_udp_transport.idl
@@ -2,11 +2,10 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-// The <code>chrome.webrtc.castUdpTransport</code> API creates a UDP
-// transport for outer transport to send and receive data. This API is not
-// useful when standalone since it does not have send and receive methods.
-// It should be used as an inner transport for other transports such as
-// castSendTransport.
+// The <code>chrome.webrtc.castUdpTransport</code> API represents a UDP
+// transport for Cast RTP streams. This API is not useful when standalone
+// since it does not have send and receive methods.
+// It is used to configure the UDP transport used in Cast session.
namespace webrtc.castUdpTransport {
// The UDP socket address and port.
dictionary UdpParams {
@@ -14,16 +13,7 @@ namespace webrtc.castUdpTransport {
long port;
};
- // Callback from the <code>create</code> method.
- // |transportId| : The transport ID.
- // A null value indicates an error.
- callback CreateCallback = void (long transportId);
-
interface Functions {
- // Creates a UDP transport.
- // |callback| : Called when the transport has been created.
- [nocompile] static void create(CreateCallback callback);
-
// Destroys a UDP transport.
// |transportId| : The transport ID.
[nocompile] static void destroy(long transportId);

Powered by Google App Engine
This is Rietveld 408576698