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

Unified Diff: webrtc/libjingle/xmpp/xmpplogintask.h

Issue 1935893002: Replace scoped_ptr with unique_ptr in webrtc/libjingle/ (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
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/libjingle/xmpp/xmppengineimpl.h ('k') | webrtc/libjingle/xmpp/xmpplogintask_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/libjingle/xmpp/xmpplogintask.h
diff --git a/webrtc/libjingle/xmpp/xmpplogintask.h b/webrtc/libjingle/xmpp/xmpplogintask.h
index f69a648394e716f970d0edf2519a985207666918..d47388dd7ac85a638abb3634b8aded38b3b95686 100644
--- a/webrtc/libjingle/xmpp/xmpplogintask.h
+++ b/webrtc/libjingle/xmpp/xmpplogintask.h
@@ -11,6 +11,7 @@
#ifndef WEBRTC_LIBJINGLE_XMPP_LOGINTASK_H_
#define WEBRTC_LIBJINGLE_XMPP_LOGINTASK_H_
+#include <memory>
#include <string>
#include <vector>
@@ -70,12 +71,12 @@ private:
const XmlElement * pelStanza_;
bool isStart_;
std::string iqId_;
- rtc::scoped_ptr<XmlElement> pelFeatures_;
+ std::unique_ptr<XmlElement> pelFeatures_;
Jid fullJid_;
std::string streamId_;
- rtc::scoped_ptr<std::vector<XmlElement *> > pvecQueuedStanzas_;
+ std::unique_ptr<std::vector<XmlElement *> > pvecQueuedStanzas_;
- rtc::scoped_ptr<SaslMechanism> sasl_mech_;
+ std::unique_ptr<SaslMechanism> sasl_mech_;
#if !defined(NDEBUG)
static const rtc::ConstantLabel LOGINTASK_STATES[];
« no previous file with comments | « webrtc/libjingle/xmpp/xmppengineimpl.h ('k') | webrtc/libjingle/xmpp/xmpplogintask_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698