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

Unified Diff: remoting/signaling/xmpp_login_handler_unittest.cc

Issue 1864213002: Convert //remoting to use std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Mac IWYU 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 | « remoting/signaling/xmpp_login_handler.cc ('k') | remoting/signaling/xmpp_signal_strategy.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/signaling/xmpp_login_handler_unittest.cc
diff --git a/remoting/signaling/xmpp_login_handler_unittest.cc b/remoting/signaling/xmpp_login_handler_unittest.cc
index 125a8ac6474a9bc6ca3ca907db9a8e988aec3076..885c4ce730dc32ddb74aa65f23035f691211311d 100644
--- a/remoting/signaling/xmpp_login_handler_unittest.cc
+++ b/remoting/signaling/xmpp_login_handler_unittest.cc
@@ -51,7 +51,7 @@ class XmppLoginHandlerTest : public testing::Test,
}
void OnHandshakeDone(const std::string& jid,
- scoped_ptr<XmppStreamParser> parser) override {
+ std::unique_ptr<XmppStreamParser> parser) override {
jid_ = jid;
parser_ = std::move(parser);
if (delete_login_handler_from_delegate_)
@@ -70,11 +70,11 @@ class XmppLoginHandlerTest : public testing::Test,
base::MessageLoop message_loop_;
- scoped_ptr<XmppLoginHandler> login_handler_;
+ std::unique_ptr<XmppLoginHandler> login_handler_;
std::string sent_data_;
bool start_tls_called_;
std::string jid_;
- scoped_ptr<XmppStreamParser> parser_;
+ std::unique_ptr<XmppStreamParser> parser_;
SignalStrategy::Error error_;
bool delete_login_handler_from_delegate_ = false;
};
« no previous file with comments | « remoting/signaling/xmpp_login_handler.cc ('k') | remoting/signaling/xmpp_signal_strategy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698