Index: components/proximity_auth/connection_finder.h |
diff --git a/components/proximity_auth/connection_finder.h b/components/proximity_auth/connection_finder.h |
index 246a9a0d0351a0ca35c804a81adce036246b30c6..08230bee64597b3bf26c7487b7ae0bf0147fda6c 100644 |
--- a/components/proximity_auth/connection_finder.h |
+++ b/components/proximity_auth/connection_finder.h |
@@ -5,9 +5,10 @@ |
#ifndef COMPONENTS_PROXIMITY_AUTH_CONNECTION_FINDER_H |
#define COMPONENTS_PROXIMITY_AUTH_CONNECTION_FINDER_H |
+#include <memory> |
+ |
#include "base/callback_forward.h" |
#include "base/macros.h" |
-#include "base/memory/scoped_ptr.h" |
namespace proximity_auth { |
@@ -23,7 +24,7 @@ class ConnectionFinder { |
// |connection_callback| with the open connection once the remote device is |
// connected. |
// TODO(isherman): Can this just be done as part of the constructor? |
- typedef base::Callback<void(scoped_ptr<Connection> connection)> |
+ typedef base::Callback<void(std::unique_ptr<Connection> connection)> |
ConnectionCallback; |
virtual void Find(const ConnectionCallback& connection_callback) = 0; |
}; |