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

Unified Diff: webrtc/libjingle/xmpp/xmpplogintask_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/xmpplogintask.h ('k') | webrtc/libjingle/xmpp/xmpptask.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/libjingle/xmpp/xmpplogintask_unittest.cc
diff --git a/webrtc/libjingle/xmpp/xmpplogintask_unittest.cc b/webrtc/libjingle/xmpp/xmpplogintask_unittest.cc
index 221cbdeaf5eb845f35585c8dba2a9b8353120fbb..f3060bd5592f870d263f485dd4f349017353e3f1 100644
--- a/webrtc/libjingle/xmpp/xmpplogintask_unittest.cc
+++ b/webrtc/libjingle/xmpp/xmpplogintask_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"
@@ -67,8 +69,8 @@ class XmppLoginTaskTest : public testing::Test {
void SetTlsOptions(buzz::TlsOptions option);
private:
- rtc::scoped_ptr<XmppEngine> engine_;
- rtc::scoped_ptr<XmppTestHandler> handler_;
+ std::unique_ptr<XmppEngine> engine_;
+ std::unique_ptr<XmppTestHandler> handler_;
};
void XmppLoginTaskTest::SetTlsOptions(buzz::TlsOptions option) {
« no previous file with comments | « webrtc/libjingle/xmpp/xmpplogintask.h ('k') | webrtc/libjingle/xmpp/xmpptask.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698