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

Unified Diff: talk/app/webrtc/statscollector_unittest.cc

Issue 1337673002: Change WebRTC SslCipher to be exposed as number only. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc@master
Patch Set: Created 5 years, 3 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: talk/app/webrtc/statscollector_unittest.cc
diff --git a/talk/app/webrtc/statscollector_unittest.cc b/talk/app/webrtc/statscollector_unittest.cc
index 7c055f6566862c7f8af5dc77df1a12df7d0f1c4f..58ed3ab2ceeee2252c11a2e495df136dd130fe88 100644
--- a/talk/app/webrtc/statscollector_unittest.cc
+++ b/talk/app/webrtc/statscollector_unittest.cc
@@ -59,6 +59,10 @@ using webrtc::PeerConnectionInterface;
using webrtc::StatsReport;
using webrtc::StatsReports;
+namespace {
+const uint16_t TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA = 0xC014;
pthatcher1 2015/09/30 18:39:35 Can you put a comment explaining where the value c
guoweis_webrtc 2015/09/30 20:14:21 Done.
+} // namespace
+
namespace cricket {
class ChannelManager;
@@ -647,7 +651,7 @@ class StatsCollectorTest : public testing::Test {
cricket::TransportChannelStats channel_stats;
channel_stats.component = 1;
channel_stats.srtp_cipher = "the-srtp-cipher";
- channel_stats.ssl_cipher = "the-ssl-cipher";
+ channel_stats.ssl_cipher = TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA;
cricket::TransportStats transport_stats;
transport_stats.transport_name = "audio";

Powered by Google App Engine
This is Rietveld 408576698