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

Unified Diff: talk/app/webrtc/webrtcsession.h

Issue 1312643004: Replaces SSLIdentity* with scoped_refptr<RTCCertificate> in cricket::Transport layer. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 5 years, 4 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/webrtcsession.h
diff --git a/talk/app/webrtc/webrtcsession.h b/talk/app/webrtc/webrtcsession.h
index b580d3439b5adf4b6f57449ce977c284dfada00b..bb405c5da47657635076545757950c06da95c71b 100644
--- a/talk/app/webrtc/webrtcsession.h
+++ b/talk/app/webrtc/webrtcsession.h
@@ -246,13 +246,14 @@ class WebRtcSession : public cricket::BaseSession,
void ResetIceRestartLatch();
- // Called when an SSLIdentity is generated or retrieved by
+ // Called when an RTCCertificate is generated or retrieved by
// WebRTCSessionDescriptionFactory. Should happen before setLocalDescription.
- void OnIdentityReady(rtc::SSLIdentity* identity);
+ void OnCertificateReady(
+ const rtc::scoped_refptr<rtc::RTCCertificate>& certificate);
void OnDtlsSetupFailure(cricket::BaseChannel*, bool rtcp);
// For unit test.
- bool waiting_for_identity_for_testing() const;
+ bool waiting_for_certificate_for_testing() const;
void set_metrics_observer(
webrtc::MetricsObserverInterface* metrics_observer) {

Powered by Google App Engine
This is Rietveld 408576698