| 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..13679245486c30047070d35372396739e349b60b 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.
|
| */
|
|
|
| +// https://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.
|
| + // TODO(hbos): Use different type than Date? See crbug.com/544894.
|
| + readonly attribute Date expires;
|
| };
|
| -
|
|
|