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

Unified Diff: remoting/signaling/xmpp_login_handler.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.h ('k') | remoting/signaling/xmpp_login_handler_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/signaling/xmpp_login_handler.cc
diff --git a/remoting/signaling/xmpp_login_handler.cc b/remoting/signaling/xmpp_login_handler.cc
index dc12382395963c54c43fa86224da845eaee451cc..1e83af86956af00ce86638fb71527db53b874cea 100644
--- a/remoting/signaling/xmpp_login_handler.cc
+++ b/remoting/signaling/xmpp_login_handler.cc
@@ -83,7 +83,7 @@ void XmppLoginHandler::OnDataReceived(const std::string& data) {
stream_parser_->AppendData(data);
}
-void XmppLoginHandler::OnStanza(scoped_ptr<buzz::XmlElement> stanza) {
+void XmppLoginHandler::OnStanza(std::unique_ptr<buzz::XmlElement> stanza) {
switch (state_) {
case State::WAIT_STREAM_HEADER: {
if (stanza->Name() == kJabberFeaturesName &&
« no previous file with comments | « remoting/signaling/xmpp_login_handler.h ('k') | remoting/signaling/xmpp_login_handler_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698