Index: remoting/host/pairing_registry_delegate.h |
diff --git a/remoting/host/pairing_registry_delegate.h b/remoting/host/pairing_registry_delegate.h |
index a5e96b93d39579e1279942810ec3ce26214b2eac..96f484980de3673f12c3773f4532897d0dce7622 100644 |
--- a/remoting/host/pairing_registry_delegate.h |
+++ b/remoting/host/pairing_registry_delegate.h |
@@ -5,8 +5,9 @@ |
#ifndef REMOTING_HOST_PAIRING_REGISTRY_DELEGATE_H_ |
#define REMOTING_HOST_PAIRING_REGISTRY_DELEGATE_H_ |
+#include <memory> |
+ |
#include "base/memory/ref_counted.h" |
-#include "base/memory/scoped_ptr.h" |
#include "remoting/protocol/pairing_registry.h" |
namespace base { |
@@ -16,7 +17,7 @@ class SingleThreadTaskRunner; |
namespace remoting { |
// Returns a platform-specific pairing registry delegate that will save to |
// permanent storage. Returns nullptr on platforms that don't support pairing. |
-scoped_ptr<protocol::PairingRegistry::Delegate> |
+std::unique_ptr<protocol::PairingRegistry::Delegate> |
CreatePairingRegistryDelegate(); |
// Convenience function which returns a new PairingRegistry, using the delegate |