Chromium Code Reviews| Index: third_party/WebKit/Source/modules/mediastream/RTCCertificate.idl |
| diff --git a/third_party/WebKit/Source/modules/mediastream/RTCIceCandidate.idl b/third_party/WebKit/Source/modules/mediastream/RTCCertificate.idl |
| similarity index 80% |
| copy from third_party/WebKit/Source/modules/mediastream/RTCIceCandidate.idl |
| copy to third_party/WebKit/Source/modules/mediastream/RTCCertificate.idl |
| index d6ce94d74c6c52bbb7e2261e3d9148c4088b9cd1..c6df4db1899d07ba1ab29bd137bf157388603beb 100644 |
| --- a/third_party/WebKit/Source/modules/mediastream/RTCIceCandidate.idl |
| +++ b/third_party/WebKit/Source/modules/mediastream/RTCCertificate.idl |
| @@ -1,5 +1,5 @@ |
| /* |
| - * Copyright (C) 2012 Google Inc. All rights reserved. |
| + * Copyright (C) 2015 Google Inc. All rights reserved. |
| * |
| * Redistribution and use in source and binary forms, with or without |
| * modification, are permitted provided that the following conditions |
| @@ -28,14 +28,13 @@ |
| * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| */ |
| +// The RTCCertificate based on the WebRTC specs, see |
|
Guido Urdaneta
2015/10/19 10:41:17
nit: The more common style for this in blink is to
hbos_chromium
2015/10/19 15:21:35
Done.
|
| +// http://w3c.github.io/webrtc-pc/#rtccertificate-interface. |
| [ |
| GarbageCollected, |
| - Constructor(RTCIceCandidateInit candidateInitDict), |
| - RaisesException=Constructor |
| -] interface RTCIceCandidate { |
| - [TreatNullAs=NullString] attribute DOMString candidate; |
| - [TreatNullAs=NullString] attribute DOMString sdpMid; |
| - attribute unsigned short sdpMLineIndex; |
| - serializer = {attribute}; |
| + RuntimeEnabled=RTCCertificate |
| +] interface RTCCertificate { |
| + // The date and time after which the certificate should be considered |
| + // invalid. |
| + readonly attribute Date expires; |
| }; |
| - |