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

Unified Diff: third_party/WebKit/Source/platform/exported/WebRTCConfiguration.cpp

Issue 1373023002: RTCCertificate, RTCPeerConnection.generateCertificate (WebRTC JavaScript) added. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed jochen's comments Created 5 years, 2 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/platform/exported/WebRTCConfiguration.cpp
diff --git a/third_party/WebKit/Source/platform/exported/WebRTCConfiguration.cpp b/third_party/WebKit/Source/platform/exported/WebRTCConfiguration.cpp
index 5b9b5f7808579e88d690154fcbd4fea7737eb54e..2325c73dcbc9e7767b4781dee5d0769fad4b5e7e 100644
--- a/third_party/WebKit/Source/platform/exported/WebRTCConfiguration.cpp
+++ b/third_party/WebKit/Source/platform/exported/WebRTCConfiguration.cpp
@@ -165,4 +165,16 @@ WebRTCICEServerArray WebRTCConfiguration::iceServers() const
return WebRTCICEServerArray(m_private->iceServers());
}
+size_t WebRTCConfiguration::numberOfCertificates() const
+{
+ ASSERT(!isNull());
+ return m_private->numberOfCertificates();
+}
+
+WebRTCCertificate* WebRTCConfiguration::certificate(size_t index) const
+{
+ ASSERT(!isNull());
+ return m_private->certificate(index);
+}
+
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698