Index: modules/mediastream/RTCCertificate.idl |
diff --git a/modules/mediastream/RTCErrorCallback.idl b/modules/mediastream/RTCCertificate.idl |
similarity index 84% |
rename from modules/mediastream/RTCErrorCallback.idl |
rename to modules/mediastream/RTCCertificate.idl |
index bb7414bf667d799354af8c05a95060058104f317..b6e9a4af5b417a60cfa353aa874caf539ef59b6f 100644 |
--- a/modules/mediastream/RTCErrorCallback.idl |
+++ b/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,7 +28,10 @@ |
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
-callback interface RTCErrorCallback { |
- void handleEvent(DOMString errorInformation); |
+// https://w3c.github.io/webrtc-pc/#rtccertificate-interface |
+[ |
+ GarbageCollected, |
+] interface RTCCertificate { |
+ // The expiration time in ms relative to epoch, 1970-01-01T00:00:00Z. |
+ readonly attribute DOMTimeStamp expires; |
}; |
- |