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

Unified Diff: webrtc/libjingle/xmpp/xmppengine_unittest.cc

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/xmppclient.cc ('k') | webrtc/libjingle/xmpp/xmppengineimpl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/libjingle/xmpp/xmppengine_unittest.cc
diff --git a/webrtc/libjingle/xmpp/xmppengine_unittest.cc b/webrtc/libjingle/xmpp/xmppengine_unittest.cc
index 7af151ba48dfbd9200b4c2ac260d07a76a5de25d..d5afead660e14690a3dc0354d77c34a500a92b3f 100644
--- a/webrtc/libjingle/xmpp/xmppengine_unittest.cc
+++ b/webrtc/libjingle/xmpp/xmppengine_unittest.cc
@@ -9,8 +9,10 @@
*/
#include <iostream>
+#include <memory>
#include <sstream>
#include <string>
+
#include "webrtc/libjingle/xmllite/xmlelement.h"
#include "webrtc/libjingle/xmpp/constants.h"
#include "webrtc/libjingle/xmpp/plainsaslhandler.h"
@@ -77,8 +79,8 @@ class XmppEngineTest : public testing::Test {
void RunLogin();
private:
- rtc::scoped_ptr<XmppEngine> engine_;
- rtc::scoped_ptr<XmppTestHandler> handler_;
+ std::unique_ptr<XmppEngine> engine_;
+ std::unique_ptr<XmppTestHandler> handler_;
};
void XmppEngineTest::RunLogin() {
« no previous file with comments | « webrtc/libjingle/xmpp/xmppclient.cc ('k') | webrtc/libjingle/xmpp/xmppengineimpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698