Index: webrtc/base/rtccertificate.h |
diff --git a/webrtc/base/rtccertificate.h b/webrtc/base/rtccertificate.h |
index d238938ae185786b55a43c72eca05f81b627ec79..600739bc86a9211172337e3b88d189f95835b839 100644 |
--- a/webrtc/base/rtccertificate.h |
+++ b/webrtc/base/rtccertificate.h |
@@ -27,8 +27,11 @@ class RTCCertificate : public RefCountInterface { |
// Takes ownership of |identity|. |
static scoped_refptr<RTCCertificate> Create(scoped_ptr<SSLIdentity> identity); |
- uint64_t expires_timestamp_ns() const; |
- bool HasExpired() const; |
+ // Returns the expiration time in ms relative to epoch, 1970-01-01T00:00:00Z. |
+ uint64_t Expires() const; |
+ // Checks if the certificate has expired, where |now| is expressed in ms |
+ // relative to epoch, 1970-01-01T00:00:00Z. |
+ bool HasExpired(uint64_t now) const; |
const SSLCertificate& ssl_certificate() const; |
// TODO(hbos): If possible, remove once RTCCertificate and its |