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

Unified Diff: third_party/WebKit/Source/modules/mediastream/RTCCertificate.idl

Issue 1373023002: RTCCertificate, RTCPeerConnection.generateCertificate (WebRTC JavaScript) added. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed jochen's comments Created 5 years, 2 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/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;
};
-

Powered by Google App Engine
This is Rietveld 408576698