Index: remoting/protocol/port_allocator_factory.h |
diff --git a/remoting/protocol/port_allocator_factory.h b/remoting/protocol/port_allocator_factory.h |
index 830cd9237e8f56a2a352ee1ae860b6d2623b5c72..d15b34c5f3c4b15d570a0f31b295f43aee6311f1 100644 |
--- a/remoting/protocol/port_allocator_factory.h |
+++ b/remoting/protocol/port_allocator_factory.h |
@@ -5,8 +5,9 @@ |
#ifndef REMOTING_PROTOCOL_PORT_ALLOCATOR_FACTORY_H_ |
#define REMOTING_PROTOCOL_PORT_ALLOCATOR_FACTORY_H_ |
+#include <memory> |
+ |
#include "base/memory/ref_counted.h" |
-#include "base/memory/scoped_ptr.h" |
namespace cricket { |
class PortAllocator; |
@@ -23,7 +24,7 @@ class PortAllocatorFactory { |
public: |
virtual ~PortAllocatorFactory() {} |
- virtual scoped_ptr<cricket::PortAllocator> CreatePortAllocator( |
+ virtual std::unique_ptr<cricket::PortAllocator> CreatePortAllocator( |
scoped_refptr<TransportContext> transport_context) = 0; |
}; |