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

Unified Diff: modules/mediastream/RTCSessionDescription.idl

Issue 1660113002: Updated to Chrome 45 (2454) moved from SVN to git. Base URL: https://github.com/dart-lang/webcore.git@roll_45
Patch Set: Created 4 years, 11 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
« no previous file with comments | « modules/mediastream/RTCPeerConnection.idl ('k') | modules/mediastream/RTCSessionDescriptionInit.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: modules/mediastream/RTCSessionDescription.idl
diff --git a/modules/mediastream/RTCSessionDescription.idl b/modules/mediastream/RTCSessionDescription.idl
index a083ff34a3c5f645aa692b0abca6f30019d5f7b3..6c9f668933ed144f0c70d2ef7f6c1eba71281078 100644
--- a/modules/mediastream/RTCSessionDescription.idl
+++ b/modules/mediastream/RTCSessionDescription.idl
@@ -28,12 +28,20 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+// http://www.w3.org/TR/webrtc/#idl-def-RTCSessionDescription
+
+enum RTCSdpType {
+ "offer",
+ "pranswer",
+ "answer"
+};
+
[
GarbageCollected,
- Constructor(optional Dictionary descriptionInitDict),
- RaisesException=Constructor
+ Constructor(optional RTCSessionDescriptionInit descriptionInitDict)
] interface RTCSessionDescription {
- [RaisesException=Setter] attribute DOMString? type;
+ attribute RTCSdpType? type;
attribute DOMString? sdp;
+ serializer = {attribute};
};
« no previous file with comments | « modules/mediastream/RTCPeerConnection.idl ('k') | modules/mediastream/RTCSessionDescriptionInit.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698