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

Unified Diff: chrome/browser/media/webrtc/webrtc_browsertest_base.cc

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
« no previous file with comments | « chrome/browser/media/webrtc/webrtc_browsertest_base.h ('k') | chrome/test/data/webrtc/indexeddb.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/media/webrtc/webrtc_browsertest_base.cc
diff --git a/chrome/browser/media/webrtc/webrtc_browsertest_base.cc b/chrome/browser/media/webrtc/webrtc_browsertest_base.cc
index e258eb275084b33070d10876d06bd3f1a814593b..1d76576bbd0ad7562172c7f5d6b7ed95eda0afe5 100644
--- a/chrome/browser/media/webrtc/webrtc_browsertest_base.cc
+++ b/chrome/browser/media/webrtc/webrtc_browsertest_base.cc
@@ -427,6 +427,14 @@ void WebRtcTestBase::NegotiateCall(content::WebContents* from_tab,
GatherAndSendIceCandidates(from_tab, to_tab);
}
+void WebRtcTestBase::VerifyLocalDescriptionContainsCertificate(
+ content::WebContents* tab,
+ const std::string& certificate) const {
+ std::string javascript = base::StringPrintf(
+ "verifyLocalDescriptionContainsCertificate(%s)", certificate.c_str());
+ EXPECT_EQ("ok-verified", ExecuteJavascript(javascript, tab));
+}
+
void WebRtcTestBase::HangUp(content::WebContents* from_tab) const {
EXPECT_EQ("ok-call-hung-up", ExecuteJavascript("hangUp()", from_tab));
}
« no previous file with comments | « chrome/browser/media/webrtc/webrtc_browsertest_base.h ('k') | chrome/test/data/webrtc/indexeddb.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698