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

Unified Diff: remoting/signaling/signal_strategy.h

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/server_log_entry.cc ('k') | remoting/signaling/xmpp_login_handler.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/signaling/signal_strategy.h
diff --git a/remoting/signaling/signal_strategy.h b/remoting/signaling/signal_strategy.h
index 499159c14250e5cbd2ea878a070c284069a6d4df..479f8b7a4ff68de589e5b041e2eac1169aaa230a 100644
--- a/remoting/signaling/signal_strategy.h
+++ b/remoting/signaling/signal_strategy.h
@@ -5,10 +5,10 @@
#ifndef REMOTING_SIGNALING_SIGNAL_STRATEGY_H_
#define REMOTING_SIGNALING_SIGNAL_STRATEGY_H_
+#include <memory>
#include <string>
#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
namespace buzz {
class XmlElement;
@@ -87,7 +87,7 @@ class SignalStrategy {
virtual void RemoveListener(Listener* listener) = 0;
// Sends a raw XMPP stanza. Returns false if the stanza couldn't be send.
- virtual bool SendStanza(scoped_ptr<buzz::XmlElement> stanza) = 0;
+ virtual bool SendStanza(std::unique_ptr<buzz::XmlElement> stanza) = 0;
// Returns new ID that should be used for the next outgoing IQ
// request.
« no previous file with comments | « remoting/signaling/server_log_entry.cc ('k') | remoting/signaling/xmpp_login_handler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698