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

Unified Diff: third_party/WebKit/public/platform/WebRTCCertificate.h

Issue 1932173002: RTCCertificate equals method for testing. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Moved equals test function to internals Created 4 years, 8 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
« no previous file with comments | « third_party/WebKit/Source/modules/modules.gypi ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/public/platform/WebRTCCertificate.h
diff --git a/third_party/WebKit/public/platform/WebRTCCertificate.h b/third_party/WebKit/public/platform/WebRTCCertificate.h
index 809839266a611882b6fed88293bb59a7d6e43ba6..c9b7a7584144d4d45bacf1992017d16006a339d2 100644
--- a/third_party/WebKit/public/platform/WebRTCCertificate.h
+++ b/third_party/WebKit/public/platform/WebRTCCertificate.h
@@ -31,6 +31,10 @@ public:
// Returns the expiration time in ms relative to epoch, 1970-01-01T00:00:00Z.
virtual uint64_t expires() const = 0;
+ // Checks if the two certificate objects represent the same certificate value,
+ // as should be the case for a clone and the original.
+ virtual bool equals(const WebRTCCertificate& other) const = 0;
+
private:
WebRTCCertificate(const WebRTCCertificate&) = delete;
WebRTCCertificate& operator=(const WebRTCCertificate&) = delete;
« no previous file with comments | « third_party/WebKit/Source/modules/modules.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698