Index: remoting/protocol/fake_session.h |
diff --git a/remoting/protocol/fake_session.h b/remoting/protocol/fake_session.h |
index 5717a971098bf5094f6963de7c8e4710cee8b0e4..b7b02c8bd5f78c7321da6eb43f1e5592fcf9c258 100644 |
--- a/remoting/protocol/fake_session.h |
+++ b/remoting/protocol/fake_session.h |
@@ -6,11 +6,11 @@ |
#define REMOTING_PROTOCOL_FAKE_SESSION_H_ |
#include <map> |
+#include <memory> |
#include <string> |
#include <vector> |
#include "base/macros.h" |
-#include "base/memory/scoped_ptr.h" |
#include "base/memory/weak_ptr.h" |
#include "remoting/protocol/fake_stream_socket.h" |
#include "remoting/protocol/session.h" |
@@ -44,14 +44,14 @@ class FakeSession : public Session { |
private: |
// Callback provided to the |transport_|. |
- void SendTransportInfo(scoped_ptr<buzz::XmlElement> transport_info); |
+ void SendTransportInfo(std::unique_ptr<buzz::XmlElement> transport_info); |
EventHandler* event_handler_ = nullptr; |
- scoped_ptr<SessionConfig> config_; |
+ std::unique_ptr<SessionConfig> config_; |
std::string jid_; |
- scoped_ptr<FakeAuthenticator> authenticator_; |
+ std::unique_ptr<FakeAuthenticator> authenticator_; |
Transport* transport_; |
ErrorCode error_ = OK; |