| Index: webrtc/base/sslstreamadapter.h
|
| diff --git a/webrtc/base/sslstreamadapter.h b/webrtc/base/sslstreamadapter.h
|
| index 9a9446267d34f9b1f3564d1c6c48a510fc1f745d..c5045f184fb2ce3af74242dab3c29869e61b5084 100644
|
| --- a/webrtc/base/sslstreamadapter.h
|
| +++ b/webrtc/base/sslstreamadapter.h
|
| @@ -11,6 +11,7 @@
|
| #ifndef WEBRTC_BASE_SSLSTREAMADAPTER_H_
|
| #define WEBRTC_BASE_SSLSTREAMADAPTER_H_
|
|
|
| +#include <memory>
|
| #include <string>
|
| #include <vector>
|
|
|
| @@ -159,7 +160,7 @@ class SSLStreamAdapter : public StreamAdapterInterface {
|
| // Retrieves the peer's X.509 certificate, if a connection has been
|
| // established. It returns the transmitted over SSL, including the entire
|
| // chain.
|
| - virtual rtc::scoped_ptr<SSLCertificate> GetPeerCertificate() const = 0;
|
| + virtual std::unique_ptr<SSLCertificate> GetPeerCertificate() const = 0;
|
|
|
| // Retrieves the IANA registration id of the cipher suite used for the
|
| // connection (e.g. 0x2F for "TLS_RSA_WITH_AES_128_CBC_SHA").
|
|
|