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

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

Issue 1269843005: Added DtlsCertificate, a ref counted object owning an SSLIdentity (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Merge with master 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: webrtc/p2p/base/rawtransportchannel.h
diff --git a/webrtc/p2p/base/rawtransportchannel.h b/webrtc/p2p/base/rawtransportchannel.h
index 75b494e65a0f1818753fdff657af09d1677e4403..33a676ba931dba69ce2764efc92bd7e0eaceb338 100644
--- a/webrtc/p2p/base/rawtransportchannel.h
+++ b/webrtc/p2p/base/rawtransportchannel.h
@@ -125,7 +125,8 @@ class RawTransportChannel : public TransportChannelImpl,
}
// Returns false because the channel is not DTLS.
- virtual bool GetLocalIdentity(rtc::SSLIdentity** identity) const {
+ bool GetLocalCertificate(
+ rtc::scoped_refptr<webrtc::DtlsCertificate>* certificate) const override {
return false;
}
@@ -144,7 +145,8 @@ class RawTransportChannel : public TransportChannelImpl,
return false;
}
- virtual bool SetLocalIdentity(rtc::SSLIdentity* identity) {
+ bool SetLocalCertificate(
+ const rtc::scoped_refptr<webrtc::DtlsCertificate>& certificate) override {
return false;
}

Powered by Google App Engine
This is Rietveld 408576698