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

Unified Diff: remoting/signaling/xmpp_stream_parser_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_stream_parser.cc ('k') | remoting/test/access_token_fetcher.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/signaling/xmpp_stream_parser_unittest.cc
diff --git a/remoting/signaling/xmpp_stream_parser_unittest.cc b/remoting/signaling/xmpp_stream_parser_unittest.cc
index 0bd2d3135b09277593ee0352f603056b11d1d437..0b6dc1b488af64b641357215e4121d1b632ff2b4 100644
--- a/remoting/signaling/xmpp_stream_parser_unittest.cc
+++ b/remoting/signaling/xmpp_stream_parser_unittest.cc
@@ -31,7 +31,7 @@ class XmppStreamParserTest : public testing::Test {
base::RunLoop().RunUntilIdle();
}
- void OnStanza(scoped_ptr<buzz::XmlElement> stanza) {
+ void OnStanza(std::unique_ptr<buzz::XmlElement> stanza) {
received_stanzas_.push_back(std::move(stanza));
}
@@ -42,7 +42,7 @@ class XmppStreamParserTest : public testing::Test {
protected:
base::MessageLoop message_loop_;
- scoped_ptr<XmppStreamParser> parser_;
+ std::unique_ptr<XmppStreamParser> parser_;
ScopedVector<buzz::XmlElement> received_stanzas_;
bool error_;
};
« no previous file with comments | « remoting/signaling/xmpp_stream_parser.cc ('k') | remoting/test/access_token_fetcher.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698