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

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

Issue 1304043008: Replacing SSLIdentity* with scoped_refptr<RTCCertificate> in TransportChannel layer (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@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: webrtc/p2p/base/p2ptransportchannel.h
diff --git a/webrtc/p2p/base/p2ptransportchannel.h b/webrtc/p2p/base/p2ptransportchannel.h
index 335ee7d166205040c24b3cb0a74dc12bec59ca97..022ba8556bb07fea8e8ec8c8eb3e46fcb7b6bb26 100644
--- a/webrtc/p2p/base/p2ptransportchannel.h
+++ b/webrtc/p2p/base/p2ptransportchannel.h
@@ -120,11 +120,12 @@ class P2PTransportChannel : public TransportChannelImpl,
}
// Returns false because the channel is not encrypted by default.
- virtual bool GetLocalIdentity(rtc::SSLIdentity** identity) const {
+ bool GetLocalCertificate(
+ rtc::scoped_refptr<rtc::RTCCertificate>* certificate) const override {
return false;
}
- virtual bool GetRemoteCertificate(rtc::SSLCertificate** cert) const {
+ bool GetRemoteSSLCertificate(rtc::SSLCertificate** cert) const override {
return false;
}
@@ -139,7 +140,8 @@ class P2PTransportChannel : public TransportChannelImpl,
return false;
}
- virtual bool SetLocalIdentity(rtc::SSLIdentity* identity) {
+ bool SetLocalCertificate(
+ const rtc::scoped_refptr<rtc::RTCCertificate>& certificate) override {
return false;
}

Powered by Google App Engine
This is Rietveld 408576698