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

Unified Diff: third_party/WebCore/Modules/mediastream/PeerConnection00.idl

Issue 10381128: Roll IDL to multivm@516 (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 7 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: third_party/WebCore/Modules/mediastream/PeerConnection00.idl
diff --git a/third_party/WebCore/Modules/mediastream/PeerConnection00.idl b/third_party/WebCore/Modules/mediastream/PeerConnection00.idl
index ad2e5a6365b1c1feb78685b3c0b463039b69e8a4..bbffe9cd4dc5f4af3068f29392de27f6e4ff4a03 100644
--- a/third_party/WebCore/Modules/mediastream/PeerConnection00.idl
+++ b/third_party/WebCore/Modules/mediastream/PeerConnection00.idl
@@ -37,11 +37,10 @@ module p2p {
CallWith=ScriptExecutionContext,
EventTarget
] PeerConnection00 {
- // FIXME: Make mediaHints an object
- SessionDescription createOffer(in [Optional] DOMString mediaHints);
-
- // FIXME: Make mediaHints an object
- SessionDescription createAnswer(in DOMString offer, in [Optional] DOMString mediaHints);
+ SessionDescription createOffer(in [Optional] Dictionary mediaHints)
+ raises(DOMException);
+ SessionDescription createAnswer(in DOMString offer, in [Optional] Dictionary mediaHints)
+ raises(DOMException);
// Actions, for setLocalDescription/setRemoteDescription.
const unsigned short SDP_OFFER = 0x100;
@@ -50,22 +49,19 @@ module p2p {
void setLocalDescription(in unsigned short action, in SessionDescription desc)
raises(DOMException);
-
void setRemoteDescription(in unsigned short action, in SessionDescription desc)
raises(DOMException);
readonly attribute SessionDescription localDescription;
-
readonly attribute SessionDescription remoteDescription;
const unsigned short NEW = 0;
- const unsigned short NEGOTIATING = 1;
+ const unsigned short OPENING = 1;
const unsigned short ACTIVE = 2;
const unsigned short CLOSED = 3;
readonly attribute unsigned short readyState;
- // FIXME: Make iceOptions an object
- void startIce(in [Optional] DOMString iceOptions)
+ void startIce(in [Optional] Dictionary iceOptions)
raises(DOMException);
void processIceMessage(in IceCandidate candidate)
@@ -80,8 +76,7 @@ module p2p {
const unsigned short ICE_CLOSED = 0x700;
readonly attribute unsigned short iceState;
- // FIXME: Make mediaStreamHints an object
- [StrictTypeChecking] void addStream(in MediaStream stream, in [Optional] DOMString mediaStreamHints)
+ [StrictTypeChecking] void addStream(in MediaStream stream, in [Optional] Dictionary mediaStreamHints)
raises(DOMException);
[StrictTypeChecking] void removeStream(in MediaStream stream)
raises(DOMException);

Powered by Google App Engine
This is Rietveld 408576698