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

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

Issue 2828563002: RTCCertificate.getFingerprints added (exposed to the web) (Closed)
Patch Set: Rebase Created 3 years, 6 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 53d03b3bae92c85f7a6f581d88baec851c84f87b..189cd072c13bcda6779a6b78a5f734507a2e36ac 100644
--- a/third_party/WebKit/Source/modules/peerconnection/RTCCertificate.h
+++ b/third_party/WebKit/Source/modules/peerconnection/RTCCertificate.h
@@ -32,10 +32,14 @@
#define RTCCertificate_h
#include <memory>
+
#include "core/dom/DOMTimeStamp.h"
#include "modules/ModulesExport.h"
+#include "modules/peerconnection/RTCDtlsFingerprint.h"
#include "platform/bindings/ScriptWrappable.h"
#include "platform/heap/GarbageCollected.h"
+#include "platform/wtf/Vector.h"
+#include "platform/wtf/text/WTFString.h"
#include "public/platform/WebRTCCertificate.h"
namespace blink {
@@ -57,6 +61,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