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

Unified Diff: webrtc/p2p/base/transportcontroller.h

Issue 2167363002: Log how often DTLS negotiation failed because of incompatible ciphersuites. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Remove the new defined enum. Use the error code in ssl.h directly. Created 4 years, 5 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: webrtc/p2p/base/transportcontroller.h
diff --git a/webrtc/p2p/base/transportcontroller.h b/webrtc/p2p/base/transportcontroller.h
index da3bab3fe44f7fe26ece30cfb6129f2a7c2a7f37..d8c533618edabbc49a9c658532300bc999bc87e2 100644
--- a/webrtc/p2p/base/transportcontroller.h
+++ b/webrtc/p2p/base/transportcontroller.h
@@ -119,6 +119,8 @@ class TransportController : public sigslot::has_slots<>,
// for unit test
const rtc::scoped_refptr<rtc::RTCCertificate>& certificate_for_testing();
+ sigslot::signal1<int> SignalDtlsHandshakeError;
+
protected:
// Protected and virtual so we can override it in unit tests.
virtual Transport* CreateTransport_n(const std::string& transport_name);
@@ -202,6 +204,8 @@ class TransportController : public sigslot::has_slots<>,
void UpdateAggregateStates_n();
+ void OnDtlsHandshakeError(int error);
+
rtc::Thread* const signaling_thread_ = nullptr;
rtc::Thread* const network_thread_ = nullptr;
typedef std::map<std::string, Transport*> TransportMap;

Powered by Google App Engine
This is Rietveld 408576698