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

Unified Diff: webrtc/p2p/base/p2ptransportchannel.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/p2ptransportchannel.h
diff --git a/webrtc/p2p/base/p2ptransportchannel.h b/webrtc/p2p/base/p2ptransportchannel.h
index 926de95a3bffed498bb8291ed4bd80a99cb048e3..ba15789e5d0b14ebb9c68d8299b7958bcf1b81c2 100644
--- a/webrtc/p2p/base/p2ptransportchannel.h
+++ b/webrtc/p2p/base/p2ptransportchannel.h
@@ -122,7 +122,8 @@ 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<webrtc::DtlsCertificate>* certificate) const override {
return false;
}
@@ -141,7 +142,8 @@ class P2PTransportChannel : public TransportChannelImpl,
return false;
}
- virtual bool SetLocalIdentity(rtc::SSLIdentity* identity) {
+ virtual bool SetLocalCertificate(
+ const rtc::scoped_refptr<webrtc::DtlsCertificate>& certificate) {
return false;
}

Powered by Google App Engine
This is Rietveld 408576698