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

Unified Diff: webrtc/base/rtccertificate.h

Issue 1494103003: RTCCertificate::Expires() and ::HasExpired() implemented (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 5 years 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
« no previous file with comments | « no previous file | webrtc/base/rtccertificate.cc » ('j') | webrtc/base/rtccertificate.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/base/rtccertificate.h
diff --git a/webrtc/base/rtccertificate.h b/webrtc/base/rtccertificate.h
index d238938ae185786b55a43c72eca05f81b627ec79..3a403ff8c5db4e15d44d821f3da1fbd6a7d45379 100644
--- a/webrtc/base/rtccertificate.h
+++ b/webrtc/base/rtccertificate.h
@@ -27,7 +27,8 @@ class RTCCertificate : public RefCountInterface {
// Takes ownership of |identity|.
static scoped_refptr<RTCCertificate> Create(scoped_ptr<SSLIdentity> identity);
- uint64_t expires_timestamp_ns() const;
+ // Returns the expiration time in ms relative to epoch, 1970-01-01T00:00:00Z.
+ uint64_t Expires() const;
bool HasExpired() const;
hta-webrtc 2015/12/03 13:49:07 What's the argument for using CamelCase for these
hbos 2015/12/03 16:03:48 All functions should be UpperCamel except tiny and
const SSLCertificate& ssl_certificate() const;
« no previous file with comments | « no previous file | webrtc/base/rtccertificate.cc » ('j') | webrtc/base/rtccertificate.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698