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

Unified Diff: third_party/WebKit/Source/modules/peerconnection/RTCCertificate.h

Issue 2828563002: RTCCertificate.getFingerprints added (exposed to the web) (Closed)
Patch Set: Changed fingerprints to getFingerprints() as per pull request Created 3 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
Index: third_party/WebKit/Source/modules/peerconnection/RTCCertificate.h
diff --git a/third_party/WebKit/Source/modules/peerconnection/RTCCertificate.h b/third_party/WebKit/Source/modules/peerconnection/RTCCertificate.h
index 837ff114825262c9a5435341d13c46490ccb5816..739868d34a4cfe85e789a5c7c12949960d32b2bd 100644
--- a/third_party/WebKit/Source/modules/peerconnection/RTCCertificate.h
+++ b/third_party/WebKit/Source/modules/peerconnection/RTCCertificate.h
@@ -34,8 +34,13 @@
#include "bindings/core/v8/ScriptWrappable.h"
#include "core/dom/DOMTimeStamp.h"
#include "modules/ModulesExport.h"
+#include "modules/peerconnection/RTCDtlsFingerprint.h"
#include "platform/heap/GarbageCollected.h"
+#include "platform/wtf/Vector.h"
+#include "platform/wtf/text/WTFString.h"
#include "public/platform/WebRTCCertificate.h"
+#include "v8/include/v8.h"
+
#include <memory>
namespace blink {
@@ -57,6 +62,7 @@ class MODULES_EXPORT RTCCertificate final
// Returns the expiration time in ms relative to epoch, 1970-01-01T00:00:00Z.
DOMTimeStamp expires() const;
+ HeapVector<RTCDtlsFingerprint> getFingerprints();
private:
std::unique_ptr<WebRTCCertificate> certificate_;

Powered by Google App Engine
This is Rietveld 408576698