Index: remoting/protocol/connection_to_host.h |
diff --git a/remoting/protocol/connection_to_host.h b/remoting/protocol/connection_to_host.h |
index 575f1da20dfdd980e2e7078f0e0c134475400150..4a8d537b2580fbdd5f0a9a6ce4c23981c0eab4a6 100644 |
--- a/remoting/protocol/connection_to_host.h |
+++ b/remoting/protocol/connection_to_host.h |
@@ -5,10 +5,10 @@ |
#ifndef REMOTING_PROTOCOL_CONNECTION_TO_HOST_H_ |
#define REMOTING_PROTOCOL_CONNECTION_TO_HOST_H_ |
+#include <memory> |
#include <string> |
#include "base/memory/ref_counted.h" |
-#include "base/memory/scoped_ptr.h" |
#include "remoting/protocol/errors.h" |
namespace remoting { |
@@ -77,7 +77,7 @@ class ConnectionToHost { |
// Initiates a connection using |session|. |event_callback| will be notified |
// of changes in the state of the connection and must outlive the |
// ConnectionToHost. Caller must set stubs (see below) before calling Connect. |
- virtual void Connect(scoped_ptr<Session> session, |
+ virtual void Connect(std::unique_ptr<Session> session, |
scoped_refptr<TransportContext> transport_context, |
HostEventCallback* event_callback) = 0; |