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

Unified Diff: webrtc/p2p/quic/quictransport.h

Issue 1937693002: Replace scoped_ptr with unique_ptr everywhere (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@unique5
Patch Set: Created 4 years, 8 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
« no previous file with comments | « webrtc/p2p/base/transport_unittest.cc ('k') | webrtc/p2p/quic/quictransport_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/p2p/quic/quictransport.h
diff --git a/webrtc/p2p/quic/quictransport.h b/webrtc/p2p/quic/quictransport.h
index 053ba6133546382ecb6e3dff4aff76ba4edef85a..14bd13f3b2befff5b941c1de25dc4df533cc775a 100644
--- a/webrtc/p2p/quic/quictransport.h
+++ b/webrtc/p2p/quic/quictransport.h
@@ -13,6 +13,7 @@
#include <string>
#include <map>
+#include <memory>
#include "webrtc/p2p/base/transport.h"
#include "webrtc/p2p/quic/quictransportchannel.h"
@@ -55,7 +56,7 @@ class QuicTransport : public Transport {
private:
rtc::scoped_refptr<rtc::RTCCertificate> local_certificate_;
rtc::SSLRole local_role_ = rtc::SSL_CLIENT;
- rtc::scoped_ptr<rtc::SSLFingerprint> remote_fingerprint_;
+ std::unique_ptr<rtc::SSLFingerprint> remote_fingerprint_;
};
} // namespace cricket
« no previous file with comments | « webrtc/p2p/base/transport_unittest.cc ('k') | webrtc/p2p/quic/quictransport_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698