| Index: webrtc/p2p/base/transportchannel.h
|
| diff --git a/webrtc/p2p/base/transportchannel.h b/webrtc/p2p/base/transportchannel.h
|
| index 15b38eee84b34497546f0a8a093e18ef4199aeb1..a1dc647a35b3c0e199e4b94db454075dbe32a25f 100644
|
| --- a/webrtc/p2p/base/transportchannel.h
|
| +++ b/webrtc/p2p/base/transportchannel.h
|
| @@ -14,6 +14,7 @@
|
| #include <string>
|
| #include <vector>
|
|
|
| +#include "talk/app/webrtc/dtlscertificate.h"
|
| #include "webrtc/p2p/base/candidate.h"
|
| #include "webrtc/p2p/base/transport.h"
|
| #include "webrtc/p2p/base/transportdescription.h"
|
| @@ -22,7 +23,6 @@
|
| #include "webrtc/base/dscp.h"
|
| #include "webrtc/base/sigslot.h"
|
| #include "webrtc/base/socket.h"
|
| -#include "webrtc/base/sslidentity.h"
|
| #include "webrtc/base/sslstreamadapter.h"
|
|
|
| namespace cricket {
|
| @@ -108,8 +108,9 @@ class TransportChannel : public sigslot::has_slots<> {
|
| // Finds out which DTLS cipher was negotiated.
|
| virtual bool GetSslCipher(std::string* cipher) = 0;
|
|
|
| - // Gets a copy of the local SSL identity, owned by the caller.
|
| - virtual bool GetLocalIdentity(rtc::SSLIdentity** identity) const = 0;
|
| + // Gets a a reference to the local DtlsCertificate.
|
| + virtual bool GetLocalCertificate(
|
| + rtc::scoped_refptr<webrtc::DtlsCertificate>* certificate) const = 0;
|
|
|
| // Gets a copy of the remote side's SSL certificate, owned by the caller.
|
| virtual bool GetRemoteCertificate(rtc::SSLCertificate** cert) const = 0;
|
|
|