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

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

Issue 1856943002: Allow TransportController to create a QuicTransportChannel (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Fix dtlstransport.h Created 4 years, 8 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/transport.h
diff --git a/webrtc/p2p/base/transport.h b/webrtc/p2p/base/transport.h
index 8b30127b7f9e7c83cb2b76df09f52224f8aedd86..8770d7cb80d8b6d1064b72c2e122d0bbdd8c0630 100644
--- a/webrtc/p2p/base/transport.h
+++ b/webrtc/p2p/base/transport.h
@@ -312,6 +312,20 @@ class Transport : public sigslot::has_slots<> {
TransportChannelImpl* channel,
std::string* error_desc);
+ // Returns false if the local certificate's identity does not match the local
+ // fingerprint, or either is NULL.
+ virtual bool VerifyCertificateFingerprint(
+ const rtc::RTCCertificate* certificate,
+ const rtc::SSLFingerprint* local_fingerprint,
pthatcher1 2016/04/12 23:26:59 This verifies any certificate and fingerprint, rig
mikescarlett 2016/04/13 00:58:24 Done.
+ std::string* error_desc) const;
+
+ // Performs the offer/answer exchange specified by RFC 4145, section-4.1 to
pthatcher1 2016/04/12 23:26:59 It doesn't perform the offer and answer exchange.
mikescarlett 2016/04/13 00:58:24 Okay I changed the comment.
+ // set the SSL role. Returns false if the SSL role cannot be determined from
+ // the local description and remote description.
+ virtual bool NegotiateRole(ContentAction local_role,
+ rtc::SSLRole* ssl_role,
+ std::string* error_desc) const;
+
private:
// If a candidate is not acceptable, returns false and sets error.
// Call this before calling OnRemoteCandidates.

Powered by Google App Engine
This is Rietveld 408576698